Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") [: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 7.0.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009926/0.0009928, allocations: 188.4 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009085/0.0009087, allocations: 87.45 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.735e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1979, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6287/0.8266, allocations: 175 MB / 1.055 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.827, allocations: 99.86 kB / 1.056 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.3748/1.202, allocations: 158.1 MB / 1.21 GB, free: 8.648 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002099/1.202, allocations: 99.92 kB / 1.21 GB, free: 8.551 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01064/1.213, allocations: 3.394 MB / 1.213 GB, free: 5.094 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.213, allocations: 8.031 kB / 1.213 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006545/1.219, allocations: 0.8926 MB / 1.214 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/1.225, allocations: 2.306 MB / 1.217 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/1.226, allocations: 139.9 kB / 1.217 GB, free: 1.699 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/1.227, allocations: 248 kB / 1.217 GB, free: 1.457 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01186/1.239, allocations: 4.781 MB / 1.222 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/1.257, allocations: 6.14 MB / 1.228 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001885/1.257, allocations: 11.84 kB / 1.228 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/1.259, allocations: 8 kB / 1.228 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003068/1.259, allocations: 266.9 kB / 1.228 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.367/1.626, allocations: 31.11 MB / 1.258 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/1.628, allocations: 1.654 MB / 1.26 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/1.629, allocations: 1.126 MB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.629, allocations: 105.9 kB / 1.261 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/1.629, allocations: 46.88 kB / 1.261 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 2.776e-06/1.629, allocations: 0 / 1.261 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.005145/1.635, allocations: 4.115 MB / 1.265 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/1.635, allocations: 146.3 kB / 1.265 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.636, allocations: 1.32 MB / 1.267 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/1.636, allocations: 27.89 kB / 1.267 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/1.637, allocations: 1.794 MB / 1.268 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/1.637, allocations: 327.6 kB / 1.269 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.637, allocations: 0 / 1.269 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.637, allocations: 393 kB / 1.269 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.638, allocations: 1.096 MB / 1.27 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/1.64, allocations: 2.154 MB / 1.272 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/1.642, allocations: 1.668 MB / 1.274 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.642, allocations: 7.625 kB / 1.274 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004148/1.646, allocations: 3.247 MB / 1.277 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002316/1.648, allocations: 13.39 MB / 1.29 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/1.649, allocations: 36.06 kB / 1.29 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.561e-05/1.649, allocations: 52.22 kB / 1.29 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/1.651, allocations: 0.5746 MB / 1.291 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.321e-05/1.651, allocations: 71.58 kB / 1.291 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.653, allocations: 233 kB / 1.291 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.653, allocations: 121.1 kB / 1.291 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/1.653, allocations: 5.312 kB / 1.291 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003435/1.657, allocations: 2.623 MB / 1.294 GB, free: 289.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.657, allocations: 33.44 kB / 1.294 GB, free: 289.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/1.657, allocations: 51.5 kB / 1.294 GB, free: 289.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.658, allocations: 0.5351 MB / 1.294 GB, free: 289.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-05/1.658, allocations: 65.14 kB / 1.294 GB, free: 289.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.66, allocations: 163.5 kB / 1.294 GB, free: 289.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.66, allocations: 107.5 kB / 1.295 GB, free: 289.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003236/1.66, allocations: 195.8 kB / 1.295 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/1.661, allocations: 152.4 kB / 1.295 GB, free: 289.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/1.663, allocations: 1.978 MB / 1.297 GB, free: 289.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.663, allocations: 11 kB / 1.297 GB, free: 289.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.663, allocations: 3.656 kB / 1.297 GB, free: 289.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.663, allocations: 10.61 kB / 1.297 GB, free: 289.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009236/1.673, allocations: 7.012 MB / 1.304 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.673, allocations: 7.188 kB / 1.304 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.674, allocations: 274.3 kB / 1.304 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.358e-05/1.674, allocations: 20.03 kB / 1.304 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/1.674, allocations: 14.69 kB / 1.304 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-05/1.674, allocations: 20.34 kB / 1.304 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/1.674, allocations: 10.62 kB / 1.304 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00294/1.677, allocations: 2.81 MB / 1.307 GB, free: 286.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/1.678, allocations: 447.3 kB / 1.307 GB, free: 286.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/1.678, allocations: 10.31 kB / 1.307 GB, free: 286.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.679, allocations: 93.39 kB / 1.307 GB, free: 286.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.679, allocations: 60.58 kB / 1.307 GB, free: 286.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/1.679, allocations: 29.66 kB / 1.307 GB, free: 286.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001314/1.681, allocations: 0.9671 MB / 1.308 GB, free: 286.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004135/1.685, allocations: 1.133 MB / 1.309 GB, free: 286.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000241/1.685, allocations: 130.5 kB / 1.31 GB, free: 286.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004257/1.689, allocations: 3.777 MB / 1.313 GB, free: 286.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.689, allocations: 0 / 1.313 GB, free: 286.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008894/1.69, allocations: 0.9073 MB / 1.314 GB, free: 286.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.692, allocations: 348.2 kB / 1.314 GB, free: 286.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008875/1.701, allocations: 5.544 MB / 1.32 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002994/1.704, allocations: 3.069 MB / 1.323 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.743e-06/1.704, allocations: 0 / 1.323 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.05074/1.755, allocations: 33.12 MB / 1.355 GB, free: 282.9 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches