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_N.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [: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.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001089/0.001089, allocations: 188.4 kB / 316 MB, free: 3.586 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.241/1.241, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0009718/0.0009717, allocations: 89.47 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.723e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.211, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6031/0.8141, allocations: 174.3 MB / 1.055 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.8145, allocations: 93.69 kB / 1.055 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2956/1.11, allocations: 110.6 MB / 1.163 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001321/1.11, allocations: 71.92 kB / 1.163 GB, free: 9.332 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006304/1.117, allocations: 2.438 MB / 1.165 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.117, allocations: 8.031 kB / 1.165 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/1.121, allocations: 0.6444 MB / 1.166 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/1.125, allocations: 1.617 MB / 1.168 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.125, allocations: 92 kB / 1.168 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/1.126, allocations: 168 kB / 1.168 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006636/1.133, allocations: 3.323 MB / 1.171 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007403/1.14, allocations: 4.221 MB / 1.175 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/1.14, allocations: 11.94 kB / 1.175 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/1.14, allocations: 7.984 kB / 1.175 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/1.141, allocations: 188.6 kB / 1.175 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02511/1.166, allocations: 22.14 MB / 1.197 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/1.168, allocations: 1.371 MB / 1.198 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/1.169, allocations: 1.106 MB / 1.199 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/1.17, allocations: 93.75 kB / 1.199 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.17, allocations: 43.22 kB / 1.2 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=72): time 2.374e-06/1.17, allocations: 4 kB / 1.2 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75): time 0.004763/1.174, allocations: 2.995 MB / 1.202 GB, free: 14.34 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/1.174, allocations: 141.2 kB / 1.203 GB, free: 14.17 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.176, allocations: 0.8239 MB / 1.203 GB, free: 13.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/1.176, allocations: 29.98 kB / 1.203 GB, free: 13.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/1.176, allocations: 1.138 MB / 1.205 GB, free: 12.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/1.177, allocations: 260.2 kB / 1.205 GB, free: 11.89 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/1.177, allocations: 0 / 1.205 GB, free: 11.89 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.177, allocations: 394.8 kB / 1.205 GB, free: 11.49 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.178, allocations: 0.7912 MB / 1.206 GB, free: 10.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/1.179, allocations: 1.269 MB / 1.207 GB, free: 9.211 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.181, allocations: 1.086 MB / 1.208 GB, free: 8.121 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.181, allocations: 4 kB / 1.208 GB, free: 8.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003304/1.184, allocations: 2.162 MB / 1.21 GB, free: 5.945 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002044/1.186, allocations: 5.486 MB / 1.216 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.186, allocations: 12 kB / 1.216 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.816e-05/1.187, allocations: 28.05 kB / 1.216 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.188, allocations: 375.3 kB / 1.216 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/1.188, allocations: 35.86 kB / 1.216 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.19, allocations: 163.3 kB / 1.216 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.19, allocations: 59.98 kB / 1.216 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/1.19, allocations: 4 kB / 1.216 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002648/1.193, allocations: 1.715 MB / 1.218 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.193, allocations: 19.92 kB / 1.218 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.193, allocations: 24 kB / 1.218 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.194, allocations: 347.8 kB / 1.218 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/1.194, allocations: 31.86 kB / 1.218 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.195, allocations: 107.5 kB / 1.219 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.195, allocations: 59.98 kB / 1.219 GB, free: 13.07 MB / 0.8386 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 (156): * Single equations (assignments): 156 * 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.0002543/1.196, allocations: 144.5 kB / 1.219 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/1.196, allocations: 90.88 kB / 1.219 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/1.198, allocations: 1.57 MB / 1.22 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.198, allocations: 11.91 kB / 1.22 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.198, allocations: 0 / 1.22 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.198, allocations: 3.984 kB / 1.22 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009618/1.208, allocations: 7.163 MB / 1.227 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.208, allocations: 8.219 kB / 1.227 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.209, allocations: 235.6 kB / 1.228 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/1.209, allocations: 12 kB / 1.228 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/1.209, allocations: 12 kB / 1.228 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/1.209, allocations: 15.94 kB / 1.228 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.209, allocations: 15.94 kB / 1.228 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002586/1.212, allocations: 2.509 MB / 1.23 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006137/1.212, allocations: 379.5 kB / 1.23 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/1.213, allocations: 12 kB / 1.23 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/1.213, allocations: 83.88 kB / 1.231 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.214, allocations: 63.69 kB / 1.231 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/1.214, allocations: 36 kB / 1.231 GB, free: 84 kB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000768/1.214, allocations: 0.6123 MB / 1.231 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002468/1.217, allocations: 0.7617 MB / 1.232 GB, free: 14.71 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.0002209/1.217, allocations: 138.9 kB / 1.232 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00328/1.22, allocations: 2.65 MB / 1.235 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.22, allocations: 0 / 1.235 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009653/1.221, allocations: 0.7509 MB / 1.235 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.223, allocations: 239.9 kB / 1.236 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/1.23, allocations: 3.915 MB / 1.239 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002587/1.233, allocations: 2.27 MB / 1.242 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/1.233, allocations: 0 / 1.242 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of Templates: time 0.4343/1.667, allocations: 23.87 MB / 1.265 GB, free: 215.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches