Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.781/1.781, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009803/0.0009803, allocations: 185.3 kB / 487 MB, free: 5.391 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.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008/0.0008, allocations: 91.3 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.131e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.175, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6874, allocations: 191.7 MB / 1.392 GB, free: 1.316 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.6876, allocations: 95.81 kB / 1.393 GB, free: 1.266 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.3524/1.04, allocations: 168.2 MB / 1.557 GB, free: 6.938 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001362/1.04, allocations: 103.9 kB / 1.557 GB, free: 6.832 MB / 0.9792 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.00567/1.046, allocations: 3.389 MB / 1.56 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/1.046, allocations: 8.031 kB / 1.56 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/1.05, allocations: 0.8965 MB / 1.561 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/1.054, allocations: 2.295 MB / 1.563 GB, free: 132 kB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.054, allocations: 140 kB / 1.564 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005359/1.055, allocations: 252 kB / 1.564 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006792/1.061, allocations: 4.773 MB / 1.568 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008367/1.07, allocations: 6.139 MB / 1.574 GB, free: 4.598 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/1.07, allocations: 11.94 kB / 1.574 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003694/1.07, allocations: 7.984 kB / 1.574 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/1.07, allocations: 259 kB / 1.575 GB, free: 4.324 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03096/1.101, allocations: 31.12 MB / 1.605 GB, free: 2.352 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/1.103, allocations: 1.648 MB / 1.607 GB, free: 0.668 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/1.105, allocations: 1.142 MB / 1.608 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/1.105, allocations: 101.7 kB / 1.608 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.105, allocations: 43.22 kB / 1.608 GB, free: 15.34 MB / 1.042 GB Notification: Performance of pre-optimization done (n=86): time 2.736e-06/1.105, allocations: 0 / 1.608 GB, free: 15.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=89): time 0.0055/1.11, allocations: 4.121 MB / 1.612 GB, free: 11.18 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/1.11, allocations: 141.2 kB / 1.612 GB, free: 11 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.112, allocations: 1.325 MB / 1.613 GB, free: 9.668 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/1.112, allocations: 25.7 kB / 1.613 GB, free: 9.637 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009446/1.113, allocations: 1.796 MB / 1.615 GB, free: 7.812 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/1.113, allocations: 327.7 kB / 1.615 GB, free: 7.488 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-05/1.113, allocations: 4 kB / 1.615 GB, free: 7.484 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.114, allocations: 394 kB / 1.616 GB, free: 7.094 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/1.115, allocations: 1.093 MB / 1.617 GB, free: 5.996 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/1.117, allocations: 2.153 MB / 1.619 GB, free: 3.328 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/1.119, allocations: 1.659 MB / 1.621 GB, free: 1.668 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.119, allocations: 11.94 kB / 1.621 GB, free: 1.656 MB / 1.042 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004499/1.124, allocations: 3.248 MB / 1.624 GB, free: 14.4 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.003698/1.127, allocations: 13.39 MB / 1.637 GB, free: 15.95 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/1.127, allocations: 36 kB / 1.637 GB, free: 15.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.401e-05/1.127, allocations: 52 kB / 1.637 GB, free: 15.86 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.13, allocations: 0.5849 MB / 1.638 GB, free: 15.27 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.982e-05/1.13, allocations: 63.73 kB / 1.638 GB, free: 15.21 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.132, allocations: 235 kB / 1.638 GB, free: 14.98 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/1.132, allocations: 112 kB / 1.638 GB, free: 14.87 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/1.132, allocations: 4 kB / 1.638 GB, free: 14.87 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003523/1.135, allocations: 2.627 MB / 1.641 GB, free: 12.24 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/1.135, allocations: 32 kB / 1.641 GB, free: 12.21 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/1.135, allocations: 55.91 kB / 1.641 GB, free: 12.16 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/1.137, allocations: 0.5347 MB / 1.641 GB, free: 11.62 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.27e-05/1.137, allocations: 75.72 kB / 1.641 GB, free: 11.55 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.139, allocations: 155.2 kB / 1.641 GB, free: 11.39 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.139, allocations: 108 kB / 1.641 GB, free: 11.29 MB / 1.073 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.0002884/1.139, allocations: 201.1 kB / 1.642 GB, free: 11.09 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/1.139, allocations: 146.2 kB / 1.642 GB, free: 10.94 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/1.142, allocations: 1.973 MB / 1.644 GB, free: 8.949 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.142, allocations: 12 kB / 1.644 GB, free: 8.938 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.142, allocations: 0 / 1.644 GB, free: 8.938 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.142, allocations: 7.984 kB / 1.644 GB, free: 8.93 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00929/1.151, allocations: 7.019 MB / 1.651 GB, free: 1.73 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.151, allocations: 4 kB / 1.651 GB, free: 1.727 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.153, allocations: 279.5 kB / 1.651 GB, free: 1.453 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/1.153, allocations: 12 kB / 1.651 GB, free: 1.441 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/1.153, allocations: 12.41 kB / 1.651 GB, free: 1.43 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.153, allocations: 19.92 kB / 1.651 GB, free: 1.41 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.153, allocations: 8 kB / 1.651 GB, free: 1.402 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002665/1.156, allocations: 2.804 MB / 1.654 GB, free: 14.26 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/1.156, allocations: 454.8 kB / 1.654 GB, free: 13.8 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/1.156, allocations: 11.98 kB / 1.654 GB, free: 13.79 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.158, allocations: 99.86 kB / 1.654 GB, free: 13.69 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.158, allocations: 60.27 kB / 1.654 GB, free: 13.63 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/1.158, allocations: 40 kB / 1.654 GB, free: 13.59 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.001107/1.159, allocations: 0.957 MB / 1.655 GB, free: 12.63 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.003436/1.162, allocations: 1.133 MB / 1.656 GB, free: 11.5 MB / 1.089 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.0002006/1.163, allocations: 126.9 kB / 1.656 GB, free: 11.37 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.004365/1.167, allocations: 3.78 MB / 1.66 GB, free: 7.602 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.167, allocations: 4 kB / 1.66 GB, free: 7.598 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0009668/1.168, allocations: 0.9015 MB / 1.661 GB, free: 6.695 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.169, allocations: 358.7 kB / 1.661 GB, free: 6.355 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/1.178, allocations: 5.538 MB / 1.667 GB, free: 0.6602 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003415/1.182, allocations: 3.073 MB / 1.67 GB, free: 13.55 MB / 1.104 GB Notification: Performance of SimCode: time 3.5e-07/1.182, allocations: 0 / 1.67 GB, free: 13.55 MB / 1.104 GB Notification: Performance of Templates: time 0.04827/1.23, allocations: 33.1 MB / 1.702 GB, free: 12.67 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches