Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [: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.696/1.696, allocations: 390.4 MB / 397.7 MB, free: 11.09 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.0008783/0.0008784, allocations: 189.2 kB / 490.8 MB, free: 1.754 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.46 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.0008047/0.0008046, allocations: 100.9 kB / 0.9264 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.939e-06/4.959e-06, allocations: 0 / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 143 MB / 1.212 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.6359, allocations: 192.9 MB / 1.4 GB, free: 8.168 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.6362, allocations: 94.19 kB / 1.4 GB, free: 8.117 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.06649/0.7027, allocations: 33.77 MB / 1.433 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.7027, allocations: 19.94 kB / 1.433 GB, free: 11.61 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001012/0.7037, allocations: 0.7971 MB / 1.434 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.7038, allocations: 8.031 kB / 1.434 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.7051, allocations: 202.9 kB / 1.434 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/0.7059, allocations: 495.9 kB / 1.434 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.7059, allocations: 16 kB / 1.434 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.706, allocations: 35.98 kB / 1.435 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006329/0.7067, allocations: 479 kB / 1.435 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.7076, allocations: 0.806 MB / 1.436 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.7076, allocations: 7.844 kB / 1.436 GB, free: 9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.7077, allocations: 4 kB / 1.436 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.7077, allocations: 48.34 kB / 1.436 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.7113, allocations: 4.481 MB / 1.44 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.7116, allocations: 286.8 kB / 1.44 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.7118, allocations: 219.9 kB / 1.441 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.7119, allocations: 4 kB / 1.441 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.7119, allocations: 37.92 kB / 1.441 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.7119, allocations: 0 / 1.441 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.003375/0.7153, allocations: 2.023 MB / 1.443 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.7153, allocations: 55.41 kB / 1.443 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.7156, allocations: 331.7 kB / 1.443 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.7157, allocations: 29.7 kB / 1.443 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.7158, allocations: 287.4 kB / 1.443 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.7159, allocations: 138.3 kB / 1.443 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.7159, allocations: 0 / 1.443 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7161, allocations: 361.8 kB / 1.444 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.7163, allocations: 220.6 kB / 1.444 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.7167, allocations: 374.1 kB / 1.444 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.717, allocations: 291.7 kB / 1.445 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.717, allocations: 0 / 1.445 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001384/0.7184, allocations: 0.8419 MB / 1.446 GB, free: 28 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.7185, allocations: 7.906 kB / 1.446 GB, free: 20 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7185, allocations: 8.031 kB / 1.446 GB, free: 12 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.7192, allocations: 222.1 kB / 1.446 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.7197, allocations: 103 kB / 1.446 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.7237, allocations: 4.621 MB / 1.45 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.724, allocations: 15.89 kB / 1.45 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.7241, allocations: 23.48 kB / 1.45 GB, free: 11.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.99e-05/0.7242, allocations: 116.8 kB / 1.45 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.7243, allocations: 55.5 kB / 1.451 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.7255, allocations: 0.7291 MB / 1.451 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7255, allocations: 11.98 kB / 1.451 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7255, allocations: 4 kB / 1.451 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7256, allocations: 3.906 kB / 1.451 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.7275, allocations: 1.375 MB / 1.453 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7275, allocations: 8.219 kB / 1.453 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.7278, allocations: 67.94 kB / 1.453 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/0.7285, allocations: 201.5 kB / 1.453 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.7285, allocations: 8 kB / 1.453 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.7322, allocations: 4.535 MB / 1.457 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7322, allocations: 4 kB / 1.457 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001478/0.7337, allocations: 1.201 MB / 1.458 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.7339, allocations: 162.2 kB / 1.459 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.734, allocations: 7.906 kB / 1.459 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.7342, allocations: 15.48 kB / 1.459 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.7343, allocations: 23.53 kB / 1.459 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.7343, allocations: 12 kB / 1.459 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001919/0.7345, allocations: 249.7 kB / 1.459 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004972/0.735, allocations: 151.9 kB / 1.459 GB, free: 2.863 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.7352, allocations: 107.2 kB / 1.459 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.7364, allocations: 0.9275 MB / 1.46 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7364, allocations: 3.938 kB / 1.46 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.7372, allocations: 0.618 MB / 1.461 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.7378, allocations: 133.4 kB / 1.461 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.7392, allocations: 0.9612 MB / 1.462 GB, free: 408 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.7398, allocations: 0.9909 MB / 1.463 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.7398, allocations: 0 / 1.463 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of Templates: time 0.01201/0.7518, allocations: 8.16 MB / 1.471 GB, free: 7.344 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches