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_L.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_L,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.|load_sc.i.1.|load_sc.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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.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_L") [: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.299/1.299, allocations: 249.4 MB / 256.7 MB, free: 6.844 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.001043/0.001043, allocations: 192.4 kB / 316 MB, free: 3.488 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.252/1.252, allocations: 205.1 MB / 0.5667 GB, free: 15.57 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.001002/0.001002, allocations: 83.41 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2324, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7186/0.951, allocations: 155.2 MB / 1.036 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.9513, allocations: 88.53 kB / 1.036 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07996/1.031, allocations: 36.29 MB / 1.072 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.857e-05/1.031, allocations: 20 kB / 1.072 GB, free: 2.918 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001295/1.033, allocations: 0.8648 MB / 1.073 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.033, allocations: 8.031 kB / 1.073 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/1.034, allocations: 230.2 kB / 1.073 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/1.035, allocations: 0.535 MB / 1.073 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/1.035, allocations: 20 kB / 1.073 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/1.035, allocations: 39.91 kB / 1.073 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008169/1.036, allocations: 0.5681 MB / 1.074 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/1.037, allocations: 1.001 MB / 1.075 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.037, allocations: 7.922 kB / 1.075 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/1.038, allocations: 8 kB / 1.075 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/1.038, allocations: 60.09 kB / 1.075 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/1.042, allocations: 5.668 MB / 1.08 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/1.042, allocations: 398.9 kB / 1.081 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/1.043, allocations: 299.5 kB / 1.081 GB, free: 9.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/1.043, allocations: 8 kB / 1.081 GB, free: 9.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.043, allocations: 45.77 kB / 1.081 GB, free: 9.777 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/1.043, allocations: 0 / 1.081 GB, free: 9.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.002039/1.045, allocations: 1.125 MB / 1.082 GB, free: 8.887 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.045, allocations: 63.12 kB / 1.082 GB, free: 8.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/1.045, allocations: 325.5 kB / 1.083 GB, free: 8.555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/1.045, allocations: 25.7 kB / 1.083 GB, free: 8.523 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/1.046, allocations: 329.7 kB / 1.083 GB, free: 8.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.046, allocations: 145.4 kB / 1.083 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/1.046, allocations: 4 kB / 1.083 GB, free: 8.094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.046, allocations: 360.5 kB / 1.084 GB, free: 7.754 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/1.046, allocations: 221 kB / 1.084 GB, free: 7.617 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/1.047, allocations: 408 kB / 1.084 GB, free: 7.223 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/1.047, allocations: 296.6 kB / 1.084 GB, free: 7.023 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.047, allocations: 0 / 1.084 GB, free: 7.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001562/1.048, allocations: 0.9057 MB / 1.085 GB, free: 6.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.049, allocations: 4 kB / 1.085 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.049, allocations: 8.734 kB / 1.085 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/1.049, allocations: 276.3 kB / 1.086 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/1.05, allocations: 99.77 kB / 1.086 GB, free: 5.961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/1.055, allocations: 6.21 MB / 1.092 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/1.056, allocations: 19.98 kB / 1.092 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/1.056, allocations: 27.41 kB / 1.092 GB, free: 15.78 MB / 0.7136 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 (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.056, allocations: 116.8 kB / 1.092 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/1.056, allocations: 55.34 kB / 1.092 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/1.057, allocations: 0.8157 MB / 1.093 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.057, allocations: 7.938 kB / 1.093 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.057, allocations: 11.98 kB / 1.093 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.057, allocations: 0 / 1.093 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/1.06, allocations: 1.514 MB / 1.094 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.06, allocations: 0 / 1.094 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.06, allocations: 43.91 kB / 1.094 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008701/1.061, allocations: 284 kB / 1.095 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.061, allocations: 4 kB / 1.095 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/1.066, allocations: 6.193 MB / 1.101 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.066, allocations: 4.062 kB / 1.101 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001421/1.068, allocations: 0.9932 MB / 1.102 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/1.068, allocations: 166.9 kB / 1.102 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/1.068, allocations: 4 kB / 1.102 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/1.068, allocations: 7.984 kB / 1.102 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/1.068, allocations: 27.72 kB / 1.102 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/1.068, allocations: 11.5 kB / 1.102 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002175/1.069, allocations: 245.5 kB / 1.102 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006949/1.069, allocations: 164 kB / 1.102 GB, free: 5.875 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 (25): * Single equations (assignments): 21 * 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,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/1.069, allocations: 107.1 kB / 1.102 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.071, allocations: 1.066 MB / 1.103 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.071, allocations: 3.938 kB / 1.103 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/1.072, allocations: 0.7596 MB / 1.104 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/1.073, allocations: 156.9 kB / 1.104 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/1.075, allocations: 0.9114 MB / 1.105 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005995/1.075, allocations: 1.02 MB / 1.106 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.075, allocations: 0 / 1.106 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of Templates: time 0.01397/1.089, allocations: 8.692 MB / 1.115 GB, free: 9.504 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches