Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001466/0.001466, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00154/0.00154, allocations: 219.1 kB / 23 MB, free: 4.914 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.837/2.837, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_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.002133/0.002133, allocations: 65.7 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00972/0.3619, allocations: 6.562 MB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006073/0.3679, allocations: 3.06 MB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007677/0.3687, allocations: 39.62 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.3716, allocations: 0.9454 MB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.3731, allocations: 0.5285 MB / 1.295 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3744, allocations: 459.1 kB / 1.295 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.3761, allocations: 1.225 MB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.377, allocations: 0.5295 MB / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.3777, allocations: 498.2 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007682/0.3785, allocations: 0.5135 MB / 1.298 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3786, allocations: 68 kB / 1.298 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006948/0.3793, allocations: 347.3 kB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.3796, allocations: 315.1 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.38, allocations: 386.2 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.3814, allocations: 1.237 MB / 1.3 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3815, allocations: 0 / 1.3 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3815, allocations: 0 / 1.3 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.3815, allocations: 0 / 1.3 GB, free: 11.2 MB / 0.9981 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.002022/0.3835, allocations: 1.123 MB / 1.301 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3835, allocations: 8.031 kB / 1.301 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.385, allocations: 240.1 kB / 1.301 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3861, allocations: 0.5282 MB / 1.302 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.3862, allocations: 57.67 kB / 1.302 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3863, allocations: 64.31 kB / 1.302 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.388, allocations: 1.34 MB / 1.303 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.3881, allocations: 7.938 kB / 1.303 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.3881, allocations: 24 kB / 1.303 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.3883, allocations: 85.25 kB / 1.303 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.3895, allocations: 0.7465 MB / 1.304 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00528/0.3948, allocations: 4.535 MB / 1.309 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3958, allocations: 0.5086 MB / 1.309 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.3963, allocations: 293.9 kB / 1.309 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.3963, allocations: 4.438 kB / 1.309 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.3963, allocations: 42.94 kB / 1.309 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.3963, allocations: 0 / 1.309 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003922/0.4003, allocations: 1.679 MB / 1.311 GB, free: 15.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4003, allocations: 59.84 kB / 1.311 GB, free: 15.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.401, allocations: 0.5106 MB / 1.312 GB, free: 14.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.401, allocations: 33.7 kB / 1.312 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.4014, allocations: 427.8 kB / 1.312 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.4015, allocations: 186.4 kB / 1.312 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4017, allocations: 130.6 kB / 1.312 GB, free: 14.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.402, allocations: 374.7 kB / 1.313 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.4024, allocations: 277.8 kB / 1.313 GB, free: 13.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.403, allocations: 492.9 kB / 1.313 GB, free: 12.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.4041, allocations: 0.8122 MB / 1.314 GB, free: 11.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4042, allocations: 0 / 1.314 GB, free: 11.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001955/0.4061, allocations: 1.074 MB / 1.315 GB, free: 10.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.4061, allocations: 11.98 kB / 1.315 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.4061, allocations: 8 kB / 1.315 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008724/0.407, allocations: 275.7 kB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.4075, allocations: 127.8 kB / 1.316 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/0.4148, allocations: 6.59 MB / 1.322 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.4154, allocations: 39.95 kB / 1.322 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.4154, allocations: 36.12 kB / 1.322 GB, free: 3.398 MB / 1.014 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.0003825/0.4158, allocations: 249.5 kB / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4159, allocations: 71.58 kB / 1.323 GB, free: 3.074 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.4176, allocations: 0.8725 MB / 1.323 GB, free: 2.176 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4176, allocations: 12 kB / 1.323 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4176, allocations: 0 / 1.323 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4176, allocations: 4 kB / 1.323 GB, free: 2.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.4203, allocations: 1.525 MB / 1.325 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4203, allocations: 384 / 1.325 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.4206, allocations: 67.89 kB / 1.325 GB, free: 0.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007676/0.4214, allocations: 271.4 kB / 1.325 GB, free: 228 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.4214, allocations: 11.94 kB / 1.325 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00718/0.4286, allocations: 6.583 MB / 1.332 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4286, allocations: 7.969 kB / 1.332 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.4303, allocations: 0.9682 MB / 1.333 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.4307, allocations: 107.6 kB / 1.333 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.4307, allocations: 23.92 kB / 1.333 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.4311, allocations: 23.97 kB / 1.333 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4312, allocations: 51.84 kB / 1.333 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.4313, allocations: 16 kB / 1.333 GB, free: 7.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000434/0.4317, allocations: 342.8 kB / 1.333 GB, free: 7.652 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4317, allocations: 0 / 1.333 GB, free: 7.652 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008122/0.4325, allocations: 224 kB / 1.333 GB, free: 7.434 MB / 1.029 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.0001674/0.4327, allocations: 119.2 kB / 1.333 GB, free: 7.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.4348, allocations: 1.228 MB / 1.335 GB, free: 6.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4348, allocations: 4 kB / 1.335 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.4362, allocations: 0.8697 MB / 1.336 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.4371, allocations: 205.3 kB / 1.336 GB, free: 4.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.4395, allocations: 1.431 MB / 1.337 GB, free: 3.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.44, allocations: 416.8 kB / 1.338 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.4402, allocations: 43.44 kB / 1.338 GB, free: 2.945 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/0.4402, allocations: 0 / 1.338 GB, free: 2.945 MB / 1.029 GB Notification: Performance of Templates: time 0.02742/0.4676, allocations: 20.92 MB / 1.358 GB, free: 14.07 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.894884870853275]