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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.717/1.717, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 173.3 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.057/1.057, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008066, allocations: 98.17 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.869e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1663, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.471/0.6373, allocations: 173.9 MB / 1.381 GB, free: 17.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.6376, allocations: 92.28 kB / 1.382 GB, free: 17.01 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2212/0.8588, allocations: 112.2 MB / 1.491 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.584e-05/0.8589, allocations: 43.98 kB / 1.491 GB, free: 9.844 MB / 0.9011 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.002419/0.8613, allocations: 1.576 MB / 1.493 GB, free: 8.215 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.8614, allocations: 8.031 kB / 1.493 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.8657, allocations: 0.6143 MB / 1.493 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.8671, allocations: 0.8959 MB / 1.494 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.8671, allocations: 40 kB / 1.494 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.8673, allocations: 72 kB / 1.494 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001935/0.8692, allocations: 1.399 MB / 1.496 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.8717, allocations: 2.16 MB / 1.498 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.8717, allocations: 7.938 kB / 1.498 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.8718, allocations: 8 kB / 1.498 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.872, allocations: 158.3 kB / 1.498 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009401/0.8814, allocations: 12.25 MB / 1.51 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.8831, allocations: 1.482 MB / 1.511 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.8838, allocations: 0.5933 MB / 1.512 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.8839, allocations: 102.1 kB / 1.512 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.884, allocations: 43.56 kB / 1.512 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 2.114e-06/0.884, allocations: 0 / 1.512 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.003897/0.8879, allocations: 2.468 MB / 1.514 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.8879, allocations: 64.41 kB / 1.515 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.8886, allocations: 0.6522 MB / 1.515 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.8886, allocations: 29.64 kB / 1.515 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.8889, allocations: 0.6104 MB / 1.516 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.8891, allocations: 370.6 kB / 1.516 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.8892, allocations: 0 / 1.516 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8893, allocations: 365.9 kB / 1.516 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.89, allocations: 0.5779 MB / 1.517 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.891, allocations: 1.013 MB / 1.518 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.8925, allocations: 0.8693 MB / 1.519 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8925, allocations: 4 kB / 1.519 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003217/0.8957, allocations: 2.047 MB / 1.521 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.8958, allocations: 11.92 kB / 1.521 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.8958, allocations: 16 kB / 1.521 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007204/0.8965, allocations: 255 kB / 1.521 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.8977, allocations: 331.5 kB / 1.521 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/0.9041, allocations: 10.28 MB / 1.531 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.9049, allocations: 59.92 kB / 1.532 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.905, allocations: 64 kB / 1.532 GB, free: 13.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.9052, allocations: 152.6 kB / 1.532 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.9054, allocations: 126.5 kB / 1.532 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.9081, allocations: 1.696 MB / 1.534 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.9081, allocations: 16 kB / 1.534 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.9081, allocations: 7.906 kB / 1.534 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.9081, allocations: 3.984 kB / 1.534 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.9125, allocations: 3.115 MB / 1.537 GB, free: 8.469 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.9125, allocations: 8 kB / 1.537 GB, free: 8.461 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.9133, allocations: 199.7 kB / 1.537 GB, free: 8.266 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006542/0.914, allocations: 242.8 kB / 1.537 GB, free: 8.004 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.914, allocations: 8 kB / 1.537 GB, free: 7.996 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/0.9203, allocations: 10.26 MB / 1.547 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.9203, allocations: 8 kB / 1.547 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002538/0.9228, allocations: 2.085 MB / 1.549 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.9233, allocations: 319.5 kB / 1.549 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.9234, allocations: 4 kB / 1.549 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/0.9241, allocations: 43.94 kB / 1.549 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.9242, allocations: 76.53 kB / 1.55 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.9242, allocations: 32 kB / 1.55 GB, free: 10 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0004868/0.9247, allocations: 0.4977 MB / 1.55 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0009949/0.9257, allocations: 359.9 kB / 1.55 GB, free: 9.145 MB / 0.9636 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.9259, allocations: 123 kB / 1.551 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.9285, allocations: 2.328 MB / 1.553 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9285, allocations: 0 / 1.553 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.9302, allocations: 1.526 MB / 1.554 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.9313, allocations: 272 kB / 1.555 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.9347, allocations: 2.159 MB / 1.557 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.9358, allocations: 1.449 MB / 1.558 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of SimCode: time 3.2e-07/0.9358, allocations: 4 kB / 1.558 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of Templates: time 0.02497/0.9608, allocations: 17.63 MB / 1.575 GB, free: 15.48 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches