Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001579/0.001579, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00189/0.00189, allocations: 210.6 kB / 23.01 MB, free: 4.57 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.365/3.365, allocations: 0.505 GB / 0.8108 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.002021/0.002021, allocations: 71.72 kB / 1.178 GB, free: 16.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4116, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009821/0.4214, allocations: 7.082 MB / 1.361 GB, free: 0.793 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005783/0.4272, allocations: 3.231 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006089/0.4278, allocations: 35.69 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.4305, allocations: 0.9988 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.4319, allocations: 0.5168 MB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.4331, allocations: 449.3 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.4347, allocations: 1.236 MB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008478/0.4355, allocations: 0.5334 MB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.4362, allocations: 494.2 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007835/0.437, allocations: 0.5526 MB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.4371, allocations: 72 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007338/0.4379, allocations: 391.2 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.4382, allocations: 311.1 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.4387, allocations: 453.7 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.4402, allocations: 1.222 MB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4402, allocations: 0 / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4402, allocations: 0 / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.4402, allocations: 3.938 kB / 1.371 GB, free: 6.309 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002046/0.4422, allocations: 1.123 MB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4423, allocations: 8.031 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.4438, allocations: 248.1 kB / 1.373 GB, free: 4.898 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4448, allocations: 0.532 MB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.4449, allocations: 53.67 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.445, allocations: 56.38 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.4466, allocations: 1.093 MB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.4466, allocations: 11.94 kB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.4467, allocations: 28 kB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.4468, allocations: 85.25 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.4481, allocations: 0.7504 MB / 1.375 GB, free: 2.156 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/0.4542, allocations: 5.807 MB / 1.381 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4552, allocations: 0.5124 MB / 1.381 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.4557, allocations: 282 kB / 1.382 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.4557, allocations: 12.38 kB / 1.382 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.4558, allocations: 39 kB / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/0.4558, allocations: 0 / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003893/0.4597, allocations: 1.69 MB / 1.383 GB, free: 9.363 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4597, allocations: 55.84 kB / 1.383 GB, free: 9.297 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.4604, allocations: 0.5704 MB / 1.384 GB, free: 8.715 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.4605, allocations: 37.7 kB / 1.384 GB, free: 8.672 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.4608, allocations: 420.1 kB / 1.384 GB, free: 8.258 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.461, allocations: 182.5 kB / 1.384 GB, free: 8.078 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.4612, allocations: 122.6 kB / 1.385 GB, free: 7.953 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.4614, allocations: 382.7 kB / 1.385 GB, free: 7.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.4618, allocations: 273.9 kB / 1.385 GB, free: 7.301 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.4624, allocations: 496.9 kB / 1.386 GB, free: 6.715 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.4636, allocations: 0.8084 MB / 1.386 GB, free: 5.809 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4636, allocations: 0 / 1.386 GB, free: 5.809 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001899/0.4655, allocations: 1.082 MB / 1.388 GB, free: 4.707 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4655, allocations: 8 kB / 1.388 GB, free: 4.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4655, allocations: 8 kB / 1.388 GB, free: 4.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008608/0.4664, allocations: 283.6 kB / 1.388 GB, free: 4.402 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.4669, allocations: 123.8 kB / 1.388 GB, free: 4.281 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007274/0.4741, allocations: 6.72 MB / 1.394 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.4748, allocations: 43.95 kB / 1.395 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.4748, allocations: 28 kB / 1.395 GB, free: 13.03 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004135/0.4752, allocations: 262.2 kB / 1.395 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4753, allocations: 75.53 kB / 1.395 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.477, allocations: 0.8809 MB / 1.396 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.477, allocations: 8 kB / 1.396 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.477, allocations: 4 kB / 1.396 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.477, allocations: 3.984 kB / 1.396 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.4799, allocations: 1.693 MB / 1.397 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4799, allocations: 0 / 1.397 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.4802, allocations: 67.83 kB / 1.397 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007544/0.4809, allocations: 267.4 kB / 1.398 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.481, allocations: 12 kB / 1.398 GB, free: 9.645 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007136/0.4881, allocations: 6.721 MB / 1.404 GB, free: 2.469 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4881, allocations: 0 / 1.404 GB, free: 2.469 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.4898, allocations: 0.9838 MB / 1.405 GB, free: 1.434 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.4901, allocations: 119.5 kB / 1.405 GB, free: 1.316 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.4902, allocations: 12 kB / 1.405 GB, free: 1.305 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.4906, allocations: 31.91 kB / 1.405 GB, free: 1.273 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4907, allocations: 39.92 kB / 1.405 GB, free: 1.234 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.4907, allocations: 16 kB / 1.405 GB, free: 1.219 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005058/0.4912, allocations: 391.1 kB / 1.406 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4912, allocations: 4 kB / 1.406 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008425/0.4921, allocations: 224 kB / 1.406 GB, free: 0.6211 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001673/0.4922, allocations: 111.2 kB / 1.406 GB, free: 0.5 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.4943, allocations: 1.24 MB / 1.407 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4943, allocations: 0 / 1.407 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.4956, allocations: 0.8701 MB / 1.408 GB, free: 14.29 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.4966, allocations: 220.1 kB / 1.408 GB, free: 14.08 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.499, allocations: 1.438 MB / 1.41 GB, free: 12.59 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.4997, allocations: 1.009 MB / 1.411 GB, free: 11.55 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.4999, allocations: 43.44 kB / 1.411 GB, free: 11.51 MB / 1.107 GB Notification: Performance of SimCode: time 7.32e-07/0.4999, allocations: 0 / 1.411 GB, free: 11.51 MB / 1.107 GB Notification: Performance of Templates: time 0.02768/0.5276, allocations: 20.96 MB / 1.431 GB, free: 6.602 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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: 14.321322889998555]