Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 207.8 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 65.75 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04341/0.4265, allocations: 33.66 MB / 1.36 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.446, allocations: 10.04 MB / 1.37 GB, free: 5.145 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/0.45, allocations: 190.6 kB / 1.37 GB, free: 4.957 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0105/0.4605, allocations: 3.826 MB / 1.374 GB, free: 1.121 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006856/0.4674, allocations: 2.138 MB / 1.376 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005779/0.4732, allocations: 1.97 MB / 1.378 GB, free: 13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.4849, allocations: 7.964 MB / 1.385 GB, free: 5.012 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008556/0.4934, allocations: 5.284 MB / 1.391 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006448/0.4999, allocations: 3.482 MB / 1.394 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007209/0.5071, allocations: 3.949 MB / 1.398 GB, free: 8.152 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.5086, allocations: 0.6797 MB / 1.399 GB, free: 7.473 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.5121, allocations: 1.354 MB / 1.4 GB, free: 6.117 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00346/0.5156, allocations: 2.693 MB / 1.403 GB, free: 3.418 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004672/0.5202, allocations: 2.51 MB / 1.405 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.5331, allocations: 10.47 MB / 1.415 GB, free: 6.398 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5331, allocations: 0 / 1.415 GB, free: 6.398 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5331, allocations: 0 / 1.415 GB, free: 6.398 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002894/0.5334, allocations: 4 kB / 1.415 GB, free: 6.395 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01341/0.5468, allocations: 5.463 MB / 1.421 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5468, allocations: 8.031 kB / 1.421 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/0.552, allocations: 0.989 MB / 1.421 GB, free: 15.87 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/0.5598, allocations: 3.132 MB / 1.425 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/0.5601, allocations: 353.9 kB / 1.425 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009744/0.5611, allocations: 476.3 kB / 1.425 GB, free: 11.86 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.577, allocations: 8.663 MB / 1.434 GB, free: 2.648 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.5771, allocations: 23.81 kB / 1.434 GB, free: 2.625 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005473/0.5777, allocations: 208 kB / 1.434 GB, free: 2.422 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005689/0.5783, allocations: 369.1 kB / 1.434 GB, free: 2.059 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.5894, allocations: 5.937 MB / 1.44 GB, free: 12.11 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03642/0.6259, allocations: 22.94 MB / 1.463 GB, free: 4.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/0.6294, allocations: 1.983 MB / 1.465 GB, free: 2.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.6314, allocations: 1.342 MB / 1.466 GB, free: 1.164 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.6315, allocations: 17.31 kB / 1.466 GB, free: 1.145 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.6315, allocations: 51.88 kB / 1.466 GB, free: 1.086 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 4.579e-06/0.6315, allocations: 0 / 1.466 GB, free: 1.086 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01446/0.646, allocations: 6.651 MB / 1.472 GB, free: 10.39 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.646, allocations: 68.72 kB / 1.472 GB, free: 10.31 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.6486, allocations: 1.713 MB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.6487, allocations: 53.7 kB / 1.474 GB, free: 8.504 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.6503, allocations: 2.191 MB / 1.476 GB, free: 6.293 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006061/0.651, allocations: 0.5887 MB / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007031/0.6517, allocations: 400 kB / 1.477 GB, free: 5.301 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6518, allocations: 305.1 kB / 1.478 GB, free: 5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.6535, allocations: 1.058 MB / 1.479 GB, free: 3.938 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.6558, allocations: 1.768 MB / 1.48 GB, free: 1.848 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/0.66, allocations: 3.049 MB / 1.483 GB, free: 14.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.66, allocations: 4 kB / 1.483 GB, free: 14.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007158/0.6671, allocations: 3.887 MB / 1.487 GB, free: 10.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.6672, allocations: 16 kB / 1.487 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/0.6672, allocations: 28.12 kB / 1.487 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.6699, allocations: 0.9388 MB / 1.488 GB, free: 9.531 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.6715, allocations: 423.3 kB / 1.488 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02479/0.6963, allocations: 21.11 MB / 1.509 GB, free: 2.777 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.6984, allocations: 136 kB / 1.509 GB, free: 2.645 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.6986, allocations: 95.98 kB / 1.509 GB, free: 2.551 MB / 1.201 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003586/0.7022, allocations: 1.649 MB / 1.511 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/0.7027, allocations: 242.5 kB / 1.511 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006091/0.7088, allocations: 3.229 MB / 1.514 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.7088, allocations: 16 kB / 1.514 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/0.7089, allocations: 12 kB / 1.514 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.7089, allocations: 7.969 kB / 1.514 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.7213, allocations: 6.453 MB / 1.521 GB, free: 6.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.7213, allocations: 4 kB / 1.521 GB, free: 6.746 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/0.7223, allocations: 215.6 kB / 1.521 GB, free: 6.535 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002622/0.7249, allocations: 0.8928 MB / 1.522 GB, free: 5.605 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.725, allocations: 32 kB / 1.522 GB, free: 5.574 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/0.7492, allocations: 21.08 MB / 1.542 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.7492, allocations: 4 kB / 1.542 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/0.7558, allocations: 3.344 MB / 1.546 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.7572, allocations: 446.4 kB / 1.546 GB, free: 11.36 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.7574, allocations: 35.95 kB / 1.546 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.7585, allocations: 100.1 kB / 1.546 GB, free: 11.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/0.7589, allocations: 144.9 kB / 1.546 GB, free: 11.08 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/0.7591, allocations: 52 kB / 1.546 GB, free: 11.03 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001801/0.7609, allocations: 1.083 MB / 1.547 GB, free: 9.93 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7609, allocations: 0 / 1.547 GB, free: 9.93 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00375/0.7647, allocations: 0.9023 MB / 1.548 GB, free: 9.027 MB / 1.248 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003751/0.7651, allocations: 155.9 kB / 1.548 GB, free: 8.867 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008275/0.7733, allocations: 4.303 MB / 1.553 GB, free: 4.41 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.7733, allocations: 0 / 1.553 GB, free: 4.41 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004868/0.7782, allocations: 2.902 MB / 1.555 GB, free: 1.352 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/0.7818, allocations: 0.7668 MB / 1.556 GB, free: 0.6016 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.7967, allocations: 7.808 MB / 1.564 GB, free: 8.699 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/0.8008, allocations: 2.672 MB / 1.566 GB, free: 5.992 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001811/0.8026, allocations: 0.5044 MB / 1.567 GB, free: 5.484 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.803, allocations: 127.4 kB / 1.567 GB, free: 5.359 MB / 1.264 GB Notification: Performance of SimCode: time 1.553e-06/0.803, allocations: 0 / 1.567 GB, free: 5.359 MB / 1.264 GB Notification: Performance of Templates: time 0.923/1.726, allocations: 48.63 MB / 1.615 GB, free: 252.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.565229358006036]