Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.892/2.892, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 67.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9437/0.9459, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04795/0.9938, allocations: 39.79 MB / 1.311 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02272/1.017, allocations: 11.39 MB / 1.322 GB, free: 5.953 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004329/1.021, allocations: 156.9 kB / 1.322 GB, free: 5.906 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01282/1.034, allocations: 4.537 MB / 1.327 GB, free: 3.242 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007447/1.041, allocations: 2.329 MB / 1.329 GB, free: 1.781 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006667/1.048, allocations: 2.238 MB / 1.331 GB, free: 500 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0135/1.061, allocations: 9.28 MB / 1.34 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/1.078, allocations: 5.979 MB / 1.346 GB, free: 9.262 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/1.088, allocations: 4.052 MB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01044/1.099, allocations: 4.746 MB / 1.354 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00358/1.102, allocations: 0.8223 MB / 1.355 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/1.109, allocations: 1.62 MB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.007185/1.116, allocations: 3.231 MB / 1.36 GB, free: 2.457 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0106/1.127, allocations: 3.651 MB / 1.364 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02135/1.148, allocations: 12.34 MB / 1.376 GB, free: 6.922 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.148, allocations: 5.125 kB / 1.376 GB, free: 6.918 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/1.148, allocations: 0 / 1.376 GB, free: 6.918 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004998/1.149, allocations: 0 / 1.376 GB, free: 6.918 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02348/1.172, allocations: 6.476 MB / 1.382 GB, free: 2.629 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.172, allocations: 9.625 kB / 1.382 GB, free: 2.629 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007608/1.18, allocations: 1.093 MB / 1.383 GB, free: 2.098 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/1.19, allocations: 3.635 MB / 1.387 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/1.191, allocations: 419.7 kB / 1.387 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/1.194, allocations: 0.5471 MB / 1.388 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/1.223, allocations: 9.377 MB / 1.397 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000185/1.223, allocations: 23.81 kB / 1.397 GB, free: 4.668 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/1.225, allocations: 248 kB / 1.397 GB, free: 4.426 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000669/1.225, allocations: 418.9 kB / 1.397 GB, free: 4.016 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/1.245, allocations: 7.123 MB / 1.404 GB, free: 12.88 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05839/1.303, allocations: 41.08 MB / 1.444 GB, free: 72 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/1.308, allocations: 2.901 MB / 1.447 GB, free: 13.15 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/1.311, allocations: 1.954 MB / 1.449 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/1.311, allocations: 22 kB / 1.449 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/1.311, allocations: 64.56 kB / 1.449 GB, free: 11.11 MB / 1.139 GB Notification: Performance of pre-optimization done (n=209): time 3.987e-06/1.311, allocations: 0 / 1.449 GB, free: 11.11 MB / 1.139 GB Notification: Performance of matching and sorting (n=212): time 0.02579/1.337, allocations: 10.57 MB / 1.46 GB, free: 464 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/1.337, allocations: 81.33 kB / 1.46 GB, free: 368 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/1.341, allocations: 2.006 MB / 1.462 GB, free: 14.33 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006062/1.342, allocations: 69.64 kB / 1.462 GB, free: 14.26 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002387/1.344, allocations: 2.478 MB / 1.464 GB, free: 11.76 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.345, allocations: 0.7669 MB / 1.465 GB, free: 10.98 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00095/1.346, allocations: 481.5 kB / 1.465 GB, free: 10.51 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.347, allocations: 305.1 kB / 1.466 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/1.349, allocations: 1.368 MB / 1.467 GB, free: 8.836 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/1.351, allocations: 2.104 MB / 1.469 GB, free: 6.422 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005219/1.357, allocations: 3.766 MB / 1.473 GB, free: 2.344 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/1.357, allocations: 8 kB / 1.473 GB, free: 2.336 MB / 1.154 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009059/1.366, allocations: 5.031 MB / 1.478 GB, free: 13.28 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.366, allocations: 16 kB / 1.478 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/1.366, allocations: 20 kB / 1.478 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003904/1.37, allocations: 1.591 MB / 1.479 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.372, allocations: 455.2 kB / 1.48 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02534/1.397, allocations: 18.59 MB / 1.498 GB, free: 8.051 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/1.4, allocations: 147.9 kB / 1.498 GB, free: 7.906 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/1.4, allocations: 108 kB / 1.498 GB, free: 7.801 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003695/1.404, allocations: 1.941 MB / 1.5 GB, free: 5.848 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/1.404, allocations: 302.2 kB / 1.5 GB, free: 5.551 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007774/1.412, allocations: 4.4 MB / 1.504 GB, free: 1.121 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/1.412, allocations: 20 kB / 1.505 GB, free: 1.102 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/1.412, allocations: 20 kB / 1.505 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/1.412, allocations: 11.97 kB / 1.505 GB, free: 1.07 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/1.43, allocations: 9.609 MB / 1.514 GB, free: 7.312 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.43, allocations: 7.938 kB / 1.514 GB, free: 7.305 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.431, allocations: 232.2 kB / 1.514 GB, free: 7.078 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003537/1.434, allocations: 1.437 MB / 1.516 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/1.435, allocations: 36 kB / 1.516 GB, free: 5.598 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/1.459, allocations: 18.58 MB / 1.534 GB, free: 2.457 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.459, allocations: 4 kB / 1.534 GB, free: 2.453 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007894/1.467, allocations: 4.503 MB / 1.538 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.469, allocations: 0.6477 MB / 1.539 GB, free: 13.19 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005334/1.47, allocations: 43.94 kB / 1.539 GB, free: 13.15 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.471, allocations: 119.9 kB / 1.539 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/1.472, allocations: 185.8 kB / 1.539 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.472, allocations: 56 kB / 1.539 GB, free: 12.8 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002225/1.474, allocations: 1.315 MB / 1.54 GB, free: 11.47 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.474, allocations: 0 / 1.54 GB, free: 11.47 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004258/1.478, allocations: 1.145 MB / 1.542 GB, free: 10.33 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/1.479, allocations: 163.5 kB / 1.542 GB, free: 10.16 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008393/1.487, allocations: 4.548 MB / 1.546 GB, free: 5.562 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.487, allocations: 4 kB / 1.546 GB, free: 5.559 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.005077/1.492, allocations: 2.804 MB / 1.549 GB, free: 2.711 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/1.497, allocations: 0.8888 MB / 1.55 GB, free: 1.832 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/1.518, allocations: 9.573 MB / 1.559 GB, free: 8.164 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007023/1.525, allocations: 3.69 MB / 1.563 GB, free: 4.438 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002395/1.527, allocations: 0.5596 MB / 1.563 GB, free: 3.871 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/1.528, allocations: 151.4 kB / 1.563 GB, free: 3.723 MB / 1.248 GB Notification: Performance of SimCode: time 1.312e-06/1.528, allocations: 0 / 1.563 GB, free: 3.723 MB / 1.248 GB Notification: Performance of Templates: time 0.1275/1.655, allocations: 53.22 MB / 1.615 GB, free: 15.2 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.050065434537828]