Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [: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.307/1.307, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001059/0.001059, allocations: 180.4 kB / 316 MB, free: 3.531 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.178/1.178, 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.0009304/0.0009304, allocations: 96.45 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.372e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4984/0.6605, allocations: 160.8 MB / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.6608, allocations: 92.8 kB / 1.042 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1422/0.803, allocations: 59.78 MB / 1.1 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.285e-05/0.8031, allocations: 35.98 kB / 1.1 GB, free: 9.012 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002664/0.8058, allocations: 1.522 MB / 1.102 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8058, allocations: 8.031 kB / 1.102 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/0.8086, allocations: 473 kB / 1.102 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.8104, allocations: 1.142 MB / 1.103 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.8105, allocations: 48 kB / 1.103 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.8107, allocations: 80 kB / 1.103 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003016/0.8137, allocations: 2.033 MB / 1.105 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.8176, allocations: 2.624 MB / 1.108 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.8176, allocations: 3.938 kB / 1.108 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.8178, allocations: 4 kB / 1.108 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004009/0.8182, allocations: 162.9 kB / 1.108 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.835, allocations: 13.96 MB / 1.122 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.8367, allocations: 1.274 MB / 1.123 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.8381, allocations: 1.109 MB / 1.124 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.8382, allocations: 16.64 kB / 1.124 GB, free: 404 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.8382, allocations: 39.22 kB / 1.124 GB, free: 356 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.8382, allocations: 0 / 1.124 GB, free: 356 kB / 0.7292 GB Notification: Performance of matching and sorting (n=139): time 0.02495/0.8631, allocations: 8.977 MB / 1.133 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.8632, allocations: 68.72 kB / 1.133 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.8645, allocations: 0.9018 MB / 1.134 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.8646, allocations: 25.7 kB / 1.134 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.865, allocations: 0.6346 MB / 1.134 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/0.8655, allocations: 465.1 kB / 1.135 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.8657, allocations: 4 kB / 1.135 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.8658, allocations: 414.7 kB / 1.135 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.8678, allocations: 1.499 MB / 1.137 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.8699, allocations: 1.78 MB / 1.138 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/0.874, allocations: 2.114 MB / 1.141 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.874, allocations: 4 kB / 1.141 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01171/0.8857, allocations: 5.786 MB / 1.146 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.8858, allocations: 8.062 kB / 1.146 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.8858, allocations: 11.94 kB / 1.146 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008329/0.8941, allocations: 2.725 MB / 1.149 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.8952, allocations: 207.7 kB / 1.149 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.9164, allocations: 14.41 MB / 1.163 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.9181, allocations: 47.91 kB / 1.163 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/0.9184, allocations: 167.9 kB / 1.163 GB, free: 7.617 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003714/0.9188, allocations: 132.9 kB / 1.163 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.9191, allocations: 110.7 kB / 1.164 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.9294, allocations: 5.247 MB / 1.169 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.9295, allocations: 15.94 kB / 1.169 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.9295, allocations: 16.12 kB / 1.169 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.9295, allocations: 7.969 kB / 1.169 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.9451, allocations: 8.371 MB / 1.177 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.9451, allocations: 4 kB / 1.177 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.9456, allocations: 115.8 kB / 1.177 GB, free: 9.461 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00776/0.9534, allocations: 2.567 MB / 1.18 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/0.9536, allocations: 39.94 kB / 1.18 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/0.9724, allocations: 12.39 MB / 1.192 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.9725, allocations: 4 kB / 1.192 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009574/0.9821, allocations: 5.108 MB / 1.197 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.9833, allocations: 0.5971 MB / 1.197 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.9836, allocations: 4 kB / 1.197 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008893/0.9845, allocations: 39.88 kB / 1.197 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.9848, allocations: 105.1 kB / 1.197 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/0.985, allocations: 111.9 kB / 1.197 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0008482/0.9859, allocations: 0.6826 MB / 1.198 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001827/0.9877, allocations: 0.5038 MB / 1.199 GB, free: 2.812 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003015/0.988, allocations: 131 kB / 1.199 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006826/0.9949, allocations: 3.944 MB / 1.203 GB, free: 14.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.9949, allocations: 0 / 1.203 GB, free: 14.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004627/0.9995, allocations: 2.269 MB / 1.205 GB, free: 12.43 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.001, allocations: 151.5 kB / 1.205 GB, free: 12.28 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006597/1.007, allocations: 3.336 MB / 1.208 GB, free: 8.852 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.009, allocations: 1.752 MB / 1.21 GB, free: 7.07 MB / 0.823 GB Notification: Performance of SimCode: time 6.61e-07/1.009, allocations: 0 / 1.21 GB, free: 7.07 MB / 0.823 GB Notification: Performance of Templates: time 0.3991/1.408, allocations: 39.65 MB / 1.249 GB, free: 209.4 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches