Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001795/0.001795, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002245/0.002245, allocations: 190.4 kB / 22.22 MB, free: 5.102 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.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.242/3.242, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 74.81 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3762, allocations: 174.8 MB / 1.316 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01494/0.3911, allocations: 11.6 MB / 1.327 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.4013, allocations: 5.999 MB / 1.333 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.4024, allocations: 71.31 kB / 1.333 GB, free: 8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004621/0.407, allocations: 1.801 MB / 1.335 GB, free: 6.195 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.4102, allocations: 1.186 MB / 1.336 GB, free: 5.004 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.4125, allocations: 0.8203 MB / 1.337 GB, free: 4.188 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.4155, allocations: 2.131 MB / 1.339 GB, free: 2.047 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.4168, allocations: 0.8898 MB / 1.34 GB, free: 1.129 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.4181, allocations: 0.8718 MB / 1.341 GB, free: 260 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.4195, allocations: 0.9728 MB / 1.342 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.4197, allocations: 112 kB / 1.342 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.422, allocations: 1.2 MB / 1.343 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.4226, allocations: 0.5452 MB / 1.344 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000867/0.4234, allocations: 0.7927 MB / 1.344 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.4269, allocations: 2.432 MB / 1.347 GB, free: 10.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4269, allocations: 0 / 1.347 GB, free: 10.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4269, allocations: 7.938 kB / 1.347 GB, free: 10.17 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.497e-05/0.4269, allocations: 0 / 1.347 GB, free: 10.17 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003174/0.4301, allocations: 1.844 MB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4301, allocations: 8.031 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/0.4344, allocations: 0.6786 MB / 1.349 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.4364, allocations: 0.9174 MB / 1.35 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/0.4365, allocations: 94.89 kB / 1.35 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.4368, allocations: 132.3 kB / 1.35 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003509/0.4403, allocations: 2.207 MB / 1.352 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.4403, allocations: 11.88 kB / 1.352 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.4404, allocations: 59.97 kB / 1.353 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.4407, allocations: 162.3 kB / 1.353 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/0.4437, allocations: 1.871 MB / 1.354 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.4567, allocations: 11.75 MB / 1.366 GB, free: 5.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/0.4611, allocations: 1.867 MB / 1.368 GB, free: 3.473 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008692/0.462, allocations: 0.5581 MB / 1.368 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.4621, allocations: 24.98 kB / 1.368 GB, free: 2.887 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.4622, allocations: 43.56 kB / 1.368 GB, free: 2.836 MB / 1.061 GB Notification: Performance of pre-optimization done (n=103): time 2.806e-06/0.4622, allocations: 0 / 1.368 GB, free: 2.836 MB / 1.061 GB Notification: Performance of matching and sorting (n=110): time 0.006112/0.4683, allocations: 3.129 MB / 1.371 GB, free: 15.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.4683, allocations: 60.41 kB / 1.372 GB, free: 15.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4695, allocations: 0.9244 MB / 1.372 GB, free: 14.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.4696, allocations: 41.7 kB / 1.372 GB, free: 14.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.4702, allocations: 0.7494 MB / 1.373 GB, free: 13.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.4705, allocations: 412.5 kB / 1.374 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/0.4709, allocations: 283.4 kB / 1.374 GB, free: 13.19 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4711, allocations: 305.1 kB / 1.374 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009666/0.472, allocations: 0.6129 MB / 1.375 GB, free: 12.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.4734, allocations: 1.102 MB / 1.376 GB, free: 10.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/0.4759, allocations: 1.832 MB / 1.378 GB, free: 8.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4759, allocations: 8 kB / 1.378 GB, free: 8.902 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003637/0.4796, allocations: 2.108 MB / 1.38 GB, free: 6.762 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.4796, allocations: 12 kB / 1.38 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.4796, allocations: 19.94 kB / 1.38 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008296/0.4805, allocations: 258.9 kB / 1.38 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4817, allocations: 375.4 kB / 1.38 GB, free: 6.086 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009251/0.4909, allocations: 10.77 MB / 1.391 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4921, allocations: 123.8 kB / 1.391 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.4923, allocations: 79.91 kB / 1.391 GB, free: 10.2 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007305/0.493, allocations: 409.9 kB / 1.391 GB, free: 9.789 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.4932, allocations: 135.2 kB / 1.392 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.4962, allocations: 1.681 MB / 1.393 GB, free: 7.941 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4962, allocations: 15.94 kB / 1.393 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4962, allocations: 0 / 1.393 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.4962, allocations: 3.984 kB / 1.393 GB, free: 7.922 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/0.5014, allocations: 3.259 MB / 1.396 GB, free: 4.523 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5014, allocations: 8.688 kB / 1.396 GB, free: 4.516 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/0.5023, allocations: 219.6 kB / 1.397 GB, free: 4.301 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007065/0.503, allocations: 242.6 kB / 1.397 GB, free: 4.039 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.076e-05/0.5031, allocations: 31.94 kB / 1.397 GB, free: 4.008 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/0.5123, allocations: 10.75 MB / 1.407 GB, free: 8.336 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.5123, allocations: 16 kB / 1.407 GB, free: 8.32 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.5152, allocations: 1.796 MB / 1.409 GB, free: 6.414 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/0.5158, allocations: 231 kB / 1.409 GB, free: 6.188 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.5159, allocations: 31.95 kB / 1.409 GB, free: 6.156 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.5166, allocations: 95.86 kB / 1.409 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.5168, allocations: 104.7 kB / 1.41 GB, free: 5.961 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.5168, allocations: 39.94 kB / 1.41 GB, free: 5.922 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007946/0.5176, allocations: 0.6138 MB / 1.41 GB, free: 5.301 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.5176, allocations: 0 / 1.41 GB, free: 5.301 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001328/0.519, allocations: 396 kB / 1.411 GB, free: 4.914 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002266/0.5192, allocations: 147.5 kB / 1.411 GB, free: 4.762 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003571/0.5228, allocations: 2.399 MB / 1.413 GB, free: 2.262 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5228, allocations: 0 / 1.413 GB, free: 2.262 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.5249, allocations: 1.582 MB / 1.415 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.5264, allocations: 357.6 kB / 1.415 GB, free: 244 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.5314, allocations: 2.801 MB / 1.418 GB, free: 13.33 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.5326, allocations: 1.327 MB / 1.419 GB, free: 11.96 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001236/0.5338, allocations: 351.3 kB / 1.419 GB, free: 11.62 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.5341, allocations: 99.36 kB / 1.419 GB, free: 11.52 MB / 1.123 GB Notification: Performance of SimCode: time 1.393e-06/0.5341, allocations: 4 kB / 1.419 GB, free: 11.52 MB / 1.123 GB Notification: Performance of Templates: time 0.03572/0.5698, allocations: 18.43 MB / 1.437 GB, free: 9.25 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 9.790592666715384]