Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.709/1.709, 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.0008996/0.0008996, allocations: 177.3 kB / 490.8 MB, free: 1.922 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.052/1.052, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.0008007/0.0008007, allocations: 96.03 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.813e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1657, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.6517, allocations: 192.5 MB / 1.4 GB, free: 8.637 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.652, allocations: 98.25 kB / 1.4 GB, free: 8.582 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.3347/0.9867, allocations: 168.2 MB / 1.564 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001164/0.9868, allocations: 99.92 kB / 1.564 GB, free: 14.52 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.005176/0.992, allocations: 3.389 MB / 1.567 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.992, allocations: 8.031 kB / 1.567 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004026/0.996, allocations: 0.8965 MB / 1.568 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.9995, allocations: 2.295 MB / 1.571 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.9996, allocations: 136 kB / 1.571 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005172/1, allocations: 252 kB / 1.571 GB, free: 7.441 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006369/1.006, allocations: 4.781 MB / 1.576 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007854/1.014, allocations: 6.135 MB / 1.582 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/1.014, allocations: 15.88 kB / 1.582 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/1.015, allocations: 8 kB / 1.582 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/1.015, allocations: 262.9 kB / 1.582 GB, free: 12 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/1.04, allocations: 31.12 MB / 1.612 GB, free: 10.06 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/1.042, allocations: 1.659 MB / 1.614 GB, free: 8.371 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/1.043, allocations: 1.13 MB / 1.615 GB, free: 7.23 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/1.044, allocations: 109.6 kB / 1.615 GB, free: 7.102 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.044, allocations: 47.25 kB / 1.615 GB, free: 7.047 MB / 1.026 GB Notification: Performance of pre-optimization done (n=86): time 2.345e-06/1.044, allocations: 0 / 1.615 GB, free: 7.047 MB / 1.026 GB Notification: Performance of matching and sorting (n=89): time 0.004688/1.048, allocations: 4.114 MB / 1.619 GB, free: 2.887 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.048, allocations: 145.4 kB / 1.619 GB, free: 2.711 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.05, allocations: 1.325 MB / 1.621 GB, free: 1.375 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/1.05, allocations: 25.7 kB / 1.621 GB, free: 1.344 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/1.051, allocations: 1.796 MB / 1.622 GB, free: 15.52 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/1.051, allocations: 327.5 kB / 1.623 GB, free: 15.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/1.051, allocations: 0 / 1.623 GB, free: 15.2 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.051, allocations: 389.9 kB / 1.623 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/1.052, allocations: 1.101 MB / 1.624 GB, free: 13.7 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/1.054, allocations: 2.149 MB / 1.626 GB, free: 11.04 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/1.056, allocations: 1.663 MB / 1.628 GB, free: 9.375 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/1.056, allocations: 12 kB / 1.628 GB, free: 9.363 MB / 1.042 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004205/1.06, allocations: 3.241 MB / 1.631 GB, free: 6.109 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.003299/1.064, allocations: 13.4 MB / 1.644 GB, free: 7.656 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/1.064, allocations: 32 kB / 1.644 GB, free: 7.625 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.167e-05/1.064, allocations: 52 kB / 1.644 GB, free: 7.574 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.066, allocations: 0.5771 MB / 1.645 GB, free: 6.996 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.925e-05/1.066, allocations: 71.72 kB / 1.645 GB, free: 6.926 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.068, allocations: 231 kB / 1.645 GB, free: 6.699 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/1.068, allocations: 116 kB / 1.645 GB, free: 6.586 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/1.068, allocations: 4 kB / 1.645 GB, free: 6.582 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003348/1.071, allocations: 2.62 MB / 1.648 GB, free: 3.961 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/1.071, allocations: 40.06 kB / 1.648 GB, free: 3.922 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/1.071, allocations: 52 kB / 1.648 GB, free: 3.871 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.073, allocations: 0.5303 MB / 1.648 GB, free: 3.34 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.081e-05/1.073, allocations: 75.61 kB / 1.648 GB, free: 3.266 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.074, allocations: 159.2 kB / 1.649 GB, free: 3.109 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.074, allocations: 112 kB / 1.649 GB, free: 3 MB / 1.057 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.0002478/1.075, allocations: 192 kB / 1.649 GB, free: 2.805 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/1.075, allocations: 150.2 kB / 1.649 GB, free: 2.656 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/1.077, allocations: 1.977 MB / 1.651 GB, free: 0.6602 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/1.077, allocations: 11.94 kB / 1.651 GB, free: 0.6484 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.077, allocations: 4 kB / 1.651 GB, free: 0.6445 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/1.077, allocations: 3.984 kB / 1.651 GB, free: 0.6406 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00804/1.085, allocations: 7.02 MB / 1.658 GB, free: 9.441 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.085, allocations: 8.156 kB / 1.658 GB, free: 9.434 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.087, allocations: 279.5 kB / 1.658 GB, free: 9.16 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/1.087, allocations: 12 kB / 1.658 GB, free: 9.148 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/1.087, allocations: 8 kB / 1.658 GB, free: 9.141 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.087, allocations: 19.92 kB / 1.658 GB, free: 9.121 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/1.087, allocations: 11.94 kB / 1.658 GB, free: 9.109 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002467/1.089, allocations: 2.812 MB / 1.661 GB, free: 5.969 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/1.09, allocations: 442.9 kB / 1.661 GB, free: 5.516 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.09, allocations: 19.83 kB / 1.661 GB, free: 5.496 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/1.091, allocations: 91.86 kB / 1.661 GB, free: 5.406 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.091, allocations: 68.28 kB / 1.661 GB, free: 5.34 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/1.091, allocations: 31.98 kB / 1.661 GB, free: 5.309 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.000974/1.092, allocations: 0.9609 MB / 1.662 GB, free: 4.348 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002782/1.095, allocations: 1.129 MB / 1.663 GB, free: 3.219 MB / 1.073 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.0001756/1.095, allocations: 140.3 kB / 1.664 GB, free: 3.074 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.003901/1.099, allocations: 3.769 MB / 1.667 GB, free: 15.32 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.099, allocations: 4 kB / 1.667 GB, free: 15.32 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0009265/1.1, allocations: 0.9078 MB / 1.668 GB, free: 14.41 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.101, allocations: 343.4 kB / 1.669 GB, free: 14.08 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/1.109, allocations: 5.54 MB / 1.674 GB, free: 8.375 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/1.112, allocations: 3.073 MB / 1.677 GB, free: 5.27 MB / 1.089 GB Notification: Performance of SimCode: time 2.81e-07/1.112, allocations: 4 kB / 1.677 GB, free: 5.266 MB / 1.089 GB Notification: Performance of Templates: time 0.04202/1.154, allocations: 33.1 MB / 1.709 GB, free: 4.383 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches