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.001314/0.001314, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0016/0.0016, allocations: 169 kB / 23.27 MB, free: 1.223 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.9277/0.9277, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.328/2.328, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 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 1.513e-06/1.513e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.202e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.006052/0.006074, allocations: 6.688 MB / 0.8963 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003798/0.009872, allocations: 2.435 MB / 0.8987 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.01061, allocations: 71.38 kB / 0.8987 GB, free: 468 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.01138, allocations: 333.3 kB / 0.8991 GB, free: 132 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.01299, allocations: 0.862 MB / 0.8999 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.01386, allocations: 0.5654 MB / 0.9005 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.01579, allocations: 2.209 MB / 0.9026 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009531/0.01675, allocations: 1.029 MB / 0.9036 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.01791, allocations: 1.216 MB / 0.9048 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008282/0.01873, allocations: 0.8686 MB / 0.9056 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.01886, allocations: 112 kB / 0.9058 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.01925, allocations: 247.6 kB / 0.906 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005882/0.01983, allocations: 0.5725 MB / 0.9065 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.02019, allocations: 0.526 MB / 0.9071 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009233/0.02112, allocations: 1.288 MB / 0.9083 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.02112, allocations: 0 / 0.9083 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.302e-06/0.02112, allocations: 0 / 0.9083 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.02113, allocations: 3.938 kB / 0.9083 GB, free: 6.582 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.001448/0.02258, allocations: 1.817 MB / 0.9101 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.02262, allocations: 12.62 kB / 0.9101 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.02449, allocations: 0.7522 MB / 0.9108 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009089/0.02539, allocations: 0.9131 MB / 0.9117 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.02545, allocations: 98.89 kB / 0.9118 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.02557, allocations: 128.3 kB / 0.912 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.02707, allocations: 1.74 MB / 0.9137 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.0271, allocations: 16.08 kB / 0.9137 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.02718, allocations: 56.36 kB / 0.9137 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.02731, allocations: 170.2 kB / 0.9139 GB, free: 468 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.02803, allocations: 0.6752 MB / 0.9145 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/0.03395, allocations: 11.11 MB / 0.9254 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.03566, allocations: 1.34 MB / 0.9267 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.03587, allocations: 182.6 kB / 0.9269 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.985e-05/0.03596, allocations: 32.97 kB / 0.9269 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.03599, allocations: 54.39 kB / 0.927 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 2.795e-06/0.03599, allocations: 0 / 0.927 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.002456/0.03845, allocations: 1.439 MB / 0.9284 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.03847, allocations: 64.41 kB / 0.9284 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.03899, allocations: 0.8513 MB / 0.9293 GB, free: 272 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.03903, allocations: 45.7 kB / 0.9293 GB, free: 220 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.03937, allocations: 0.8065 MB / 0.9301 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.03956, allocations: 404.5 kB / 0.9305 GB, free: 15 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.0398, allocations: 296.9 kB / 0.9308 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.0399, allocations: 484.7 kB / 0.9312 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.04011, allocations: 207.8 kB / 0.9314 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.0406, allocations: 0.9071 MB / 0.9323 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.04143, allocations: 1.239 MB / 0.9335 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.04144, allocations: 4 kB / 0.9335 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001671/0.04311, allocations: 1.319 MB / 0.9348 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.04313, allocations: 15.94 kB / 0.9348 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.04315, allocations: 19.94 kB / 0.9348 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.04361, allocations: 229.5 kB / 0.9351 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.04424, allocations: 311.5 kB / 0.9354 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/0.05047, allocations: 13.79 MB / 0.9488 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.05114, allocations: 56.12 kB / 0.9489 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.0512, allocations: 59.98 kB / 0.9489 GB, free: 10.49 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.0003194/0.05152, allocations: 256 kB / 0.9492 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.05167, allocations: 163.2 kB / 0.9493 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009834/0.05266, allocations: 0.9166 MB / 0.9502 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.05266, allocations: 12 kB / 0.9502 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.05267, allocations: 0 / 0.9502 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.05267, allocations: 7.984 kB / 0.9502 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.05465, allocations: 1.849 MB / 0.9521 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.05465, allocations: 8 kB / 0.9521 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.05501, allocations: 167.7 kB / 0.9522 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/0.05537, allocations: 209.9 kB / 0.9524 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.05541, allocations: 28 kB / 0.9524 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.06058, allocations: 13.79 MB / 0.9659 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.06059, allocations: 8 kB / 0.9659 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.06181, allocations: 1.192 MB / 0.9671 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.06212, allocations: 191.1 kB / 0.9673 GB, free: 6.398 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.06221, allocations: 35.92 kB / 0.9673 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.06249, allocations: 28.06 kB / 0.9673 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.06261, allocations: 96.72 kB / 0.9674 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.06265, allocations: 28 kB / 0.9675 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003113/0.06296, allocations: 486 kB / 0.9679 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.06296, allocations: 0 / 0.9679 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001003/0.06396, allocations: 396 kB / 0.9683 GB, free: 5.344 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.0004376/0.0644, allocations: 143 kB / 0.9684 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.0659, allocations: 2.139 MB / 0.9705 GB, free: 2.918 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.0659, allocations: 0 / 0.9705 GB, free: 2.918 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.06681, allocations: 1.691 MB / 0.9722 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.06772, allocations: 352.2 kB / 0.9725 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.07045, allocations: 2.519 MB / 0.975 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.07088, allocations: 361.3 kB / 0.9753 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000432/0.07132, allocations: 175.2 kB / 0.9755 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/0.07182, allocations: 370 kB / 0.9758 GB, free: 13.16 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/0.07182, allocations: 0 / 0.9758 GB, free: 13.16 MB / 0.948 GB Notification: Performance of Templates: time 0.02216/0.09398, allocations: 18.62 MB / 0.994 GB, free: 10.87 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: 5.544526927173138]