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.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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001051/0.001051, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 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 0.9958/0.9958, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.175/2.175, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|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.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.726e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009674/0.009701, allocations: 11.18 MB / 0.8891 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006884/0.01659, allocations: 5.865 MB / 0.8948 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.01714, allocations: 75.31 kB / 0.8949 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.01955, allocations: 1.778 MB / 0.8966 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.02124, allocations: 1.208 MB / 0.8978 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.02241, allocations: 0.8179 MB / 0.8986 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.02395, allocations: 2.185 MB / 0.9008 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009411/0.02489, allocations: 1.025 MB / 0.9018 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.02593, allocations: 1.22 MB / 0.9029 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.02709, allocations: 0.8257 MB / 0.9038 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.02722, allocations: 116 kB / 0.9039 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.02843, allocations: 1.083 MB / 0.9049 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.02879, allocations: 0.5686 MB / 0.9055 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.02919, allocations: 0.5377 MB / 0.906 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.03076, allocations: 1.829 MB / 0.9078 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.03076, allocations: 0 / 0.9078 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.03076, allocations: 0 / 0.9078 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.03078, allocations: 0 / 0.9078 GB, free: 8.227 MB / 0.8698 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.001791/0.03257, allocations: 1.949 MB / 0.9097 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.03262, allocations: 8.031 kB / 0.9097 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.03585, allocations: 0.9743 MB / 0.9106 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.03695, allocations: 0.9703 MB / 0.9116 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.03701, allocations: 94.89 kB / 0.9117 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.03716, allocations: 132.3 kB / 0.9118 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.03881, allocations: 1.838 MB / 0.9136 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.03885, allocations: 8.125 kB / 0.9136 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.03895, allocations: 64.33 kB / 0.9137 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.03909, allocations: 170.2 kB / 0.9138 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.04028, allocations: 0.8251 MB / 0.9146 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007545/0.04782, allocations: 11.47 MB / 0.9258 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.05019, allocations: 1.569 MB / 0.9274 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.05052, allocations: 214.6 kB / 0.9276 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.05064, allocations: 32.98 kB / 0.9276 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.05068, allocations: 46.39 kB / 0.9277 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 2.484e-06/0.05068, allocations: 0 / 0.9277 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.002823/0.0535, allocations: 1.77 MB / 0.9294 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.05355, allocations: 64.41 kB / 0.9295 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006877/0.05423, allocations: 0.8636 MB / 0.9303 GB, free: 300 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.05428, allocations: 45.7 kB / 0.9303 GB, free: 248 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/0.0547, allocations: 0.795 MB / 0.9311 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.05494, allocations: 404.6 kB / 0.9315 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005698/0.05551, allocations: 285.1 kB / 0.9318 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.05562, allocations: 484.7 kB / 0.9322 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.05599, allocations: 271.8 kB / 0.9325 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.05667, allocations: 0.9698 MB / 0.9334 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.05783, allocations: 1.341 MB / 0.9348 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.05783, allocations: 4 kB / 0.9348 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00167/0.0595, allocations: 1.463 MB / 0.9362 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.05953, allocations: 15.94 kB / 0.9362 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.05954, allocations: 16 kB / 0.9362 GB, free: 9.559 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/0.06007, allocations: 233.8 kB / 0.9364 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.06074, allocations: 375.4 kB / 0.9368 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.06679, allocations: 14 MB / 0.9505 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.06734, allocations: 127.9 kB / 0.9506 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.0674, allocations: 71.98 kB / 0.9507 GB, free: 9.754 MB / 0.9167 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.0003006/0.0677, allocations: 261.9 kB / 0.9509 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.06785, allocations: 159.2 kB / 0.9511 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.06937, allocations: 0.9948 MB / 0.952 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.06938, allocations: 12 kB / 0.952 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.06938, allocations: 0 / 0.952 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.06939, allocations: 3.984 kB / 0.952 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.07173, allocations: 2.135 MB / 0.9541 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.07173, allocations: 8 kB / 0.9541 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.07216, allocations: 219.6 kB / 0.9543 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.07256, allocations: 218 kB / 0.9546 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.0726, allocations: 28 kB / 0.9546 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.07817, allocations: 13.99 MB / 0.9682 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.07817, allocations: 8 kB / 0.9683 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.0794, allocations: 1.263 MB / 0.9695 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.07966, allocations: 211.1 kB / 0.9697 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.07975, allocations: 36 kB / 0.9697 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.08009, allocations: 95.88 kB / 0.9698 GB, free: 4.754 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.08021, allocations: 100.7 kB / 0.9699 GB, free: 4.652 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.08025, allocations: 32 kB / 0.9699 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000389/0.08064, allocations: 0.5139 MB / 0.9704 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.08064, allocations: 0 / 0.9704 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009016/0.08154, allocations: 396 kB / 0.9708 GB, free: 3.711 MB / 0.9323 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.0001992/0.08174, allocations: 143 kB / 0.971 GB, free: 3.562 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.08378, allocations: 2.24 MB / 0.9731 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.08379, allocations: 0 / 0.9731 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.08479, allocations: 1.742 MB / 0.9748 GB, free: 15.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.08571, allocations: 371.2 kB / 0.9752 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.08852, allocations: 2.543 MB / 0.9777 GB, free: 12.26 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.08877, allocations: 365.3 kB / 0.978 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000491/0.08926, allocations: 283 kB / 0.9783 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.08944, allocations: 92.48 kB / 0.9784 GB, free: 11.51 MB / 0.948 GB Notification: Performance of SimCode: time 1.392e-06/0.08944, allocations: 4 kB / 0.9784 GB, free: 11.5 MB / 0.948 GB Notification: Performance of Templates: time 0.02063/0.1101, allocations: 17.46 MB / 0.9954 GB, free: 10.38 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.132678765105084]