Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [: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.39/1.39, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.00108/0.00108, allocations: 185.2 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.191/1.191, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.000882/0.0008822, allocations: 98.31 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.935e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2398, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6804/0.9202, allocations: 154 MB / 1.035 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.9206, allocations: 92.75 kB / 1.035 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08459/1.005, allocations: 36.08 MB / 1.07 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.645e-05/1.005, allocations: 23.98 kB / 1.07 GB, free: 3.938 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001798/1.007, allocations: 0.96 MB / 1.071 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.007, allocations: 8.031 kB / 1.071 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.009, allocations: 246.2 kB / 1.072 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009163/1.01, allocations: 0.5363 MB / 1.072 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/1.01, allocations: 20 kB / 1.072 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/1.01, allocations: 36 kB / 1.072 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/1.011, allocations: 0.6195 MB / 1.073 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.012, allocations: 1.04 MB / 1.074 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/1.012, allocations: 11.84 kB / 1.074 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/1.012, allocations: 4 kB / 1.074 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/1.012, allocations: 56.78 kB / 1.074 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005013/1.017, allocations: 5.792 MB / 1.079 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/1.018, allocations: 0.5225 MB / 1.08 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/1.019, allocations: 315.2 kB / 1.08 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/1.019, allocations: 8.422 kB / 1.08 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.019, allocations: 46.36 kB / 1.08 GB, free: 10.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.405e-06/1.019, allocations: 0 / 1.08 GB, free: 10.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002131/1.021, allocations: 1.183 MB / 1.081 GB, free: 9.488 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.021, allocations: 55.84 kB / 1.081 GB, free: 9.422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/1.021, allocations: 398.2 kB / 1.082 GB, free: 9.109 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/1.021, allocations: 33.7 kB / 1.082 GB, free: 9.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/1.022, allocations: 350.8 kB / 1.082 GB, free: 8.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/1.022, allocations: 160.7 kB / 1.082 GB, free: 8.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/1.022, allocations: 0 / 1.082 GB, free: 8.621 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.022, allocations: 367.8 kB / 1.083 GB, free: 8.277 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/1.022, allocations: 256.2 kB / 1.083 GB, free: 8.121 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/1.023, allocations: 449.4 kB / 1.083 GB, free: 7.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/1.023, allocations: 324 kB / 1.084 GB, free: 7.492 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.023, allocations: 8 kB / 1.084 GB, free: 7.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001587/1.025, allocations: 0.9822 MB / 1.085 GB, free: 6.711 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.025, allocations: 6.812 kB / 1.085 GB, free: 6.707 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.025, allocations: 8.75 kB / 1.085 GB, free: 6.699 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008875/1.026, allocations: 272.9 kB / 1.085 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/1.026, allocations: 111.3 kB / 1.085 GB, free: 6.363 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/1.033, allocations: 6.205 MB / 1.091 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/1.034, allocations: 27.97 kB / 1.091 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/1.034, allocations: 23.31 kB / 1.091 GB, free: 172 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000232/1.034, allocations: 128.5 kB / 1.091 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.034, allocations: 67.3 kB / 1.091 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.036, allocations: 0.8466 MB / 1.092 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.036, allocations: 4 kB / 1.092 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.036, allocations: 4 kB / 1.092 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.036, allocations: 3.984 kB / 1.092 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/1.038, allocations: 1.591 MB / 1.094 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.038, allocations: 192 / 1.094 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/1.039, allocations: 59.91 kB / 1.094 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007688/1.04, allocations: 272.7 kB / 1.094 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/1.04, allocations: 4 kB / 1.094 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/1.045, allocations: 6.191 MB / 1.1 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.045, allocations: 3.938 kB / 1.1 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001559/1.047, allocations: 1.019 MB / 1.101 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/1.047, allocations: 186.3 kB / 1.101 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/1.047, allocations: 4 kB / 1.101 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/1.048, allocations: 11.98 kB / 1.101 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/1.048, allocations: 31.08 kB / 1.101 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/1.048, allocations: 15.31 kB / 1.101 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003818/1.048, allocations: 298.9 kB / 1.102 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00095/1.049, allocations: 195.9 kB / 1.102 GB, free: 6.062 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002433/1.049, allocations: 115.1 kB / 1.102 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.051, allocations: 1.146 MB / 1.103 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.051, allocations: 0 / 1.103 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/1.052, allocations: 0.8033 MB / 1.104 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/1.053, allocations: 156.7 kB / 1.104 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/1.055, allocations: 0.99 MB / 1.105 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008021/1.056, allocations: 1.049 MB / 1.106 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/1.056, allocations: 0 / 1.106 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of Templates: time 0.01827/1.075, allocations: 10.08 MB / 1.116 GB, free: 8.172 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches