Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [: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.373/1.373, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001067/0.001067, allocations: 189.2 kB / 316 MB, free: 3.539 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.535/1.535, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.001007/0.001007, allocations: 86 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.135e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2134, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6613/0.8748, allocations: 147.8 MB / 1.029 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.8751, allocations: 91.81 kB / 1.029 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0684/0.9435, allocations: 29.03 MB / 1.057 GB, free: 84 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.067e-05/0.9436, allocations: 16 kB / 1.057 GB, free: 68 kB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001216/0.9448, allocations: 0.7867 MB / 1.058 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9448, allocations: 8.031 kB / 1.058 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.9462, allocations: 198.9 kB / 1.058 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.947, allocations: 491.2 kB / 1.059 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.947, allocations: 16 kB / 1.059 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.9471, allocations: 24 kB / 1.059 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006602/0.9477, allocations: 431.1 kB / 1.059 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.9488, allocations: 0.8651 MB / 1.06 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.9488, allocations: 3.938 kB / 1.06 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.9489, allocations: 19.89 kB / 1.06 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.419e-05/0.9489, allocations: 54.69 kB / 1.06 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.9531, allocations: 5.552 MB / 1.066 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.9536, allocations: 426.9 kB / 1.066 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.9539, allocations: 227.9 kB / 1.066 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.9539, allocations: 4 kB / 1.066 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.9539, allocations: 42.44 kB / 1.066 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.996e-06/0.9539, allocations: 0 / 1.066 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001516/0.9555, allocations: 0.8277 MB / 1.067 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.9555, allocations: 58.78 kB / 1.067 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.9558, allocations: 343.6 kB / 1.067 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.9559, allocations: 25.7 kB / 1.067 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.956, allocations: 304.9 kB / 1.068 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.9561, allocations: 114.7 kB / 1.068 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.9562, allocations: 0 / 1.068 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.9563, allocations: 356.5 kB / 1.068 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.9566, allocations: 180.3 kB / 1.068 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.957, allocations: 399.1 kB / 1.069 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.9573, allocations: 244.8 kB / 1.069 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9573, allocations: 0 / 1.069 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001135/0.9585, allocations: 0.7187 MB / 1.07 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.9585, allocations: 8 kB / 1.07 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9585, allocations: 4 kB / 1.07 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.959, allocations: 159.7 kB / 1.07 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.9595, allocations: 106.8 kB / 1.07 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.9625, allocations: 3.86 MB / 1.074 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.9629, allocations: 11.98 kB / 1.074 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.963, allocations: 34.86 kB / 1.074 GB, free: 15.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.9631, allocations: 128.7 kB / 1.074 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.9632, allocations: 55.34 kB / 1.074 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.9642, allocations: 0.5704 MB / 1.074 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9642, allocations: 4 kB / 1.074 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9642, allocations: 4 kB / 1.074 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9642, allocations: 0 / 1.074 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.966, allocations: 1.176 MB / 1.076 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.966, allocations: 4.031 kB / 1.076 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.9662, allocations: 51.91 kB / 1.076 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.9667, allocations: 133.6 kB / 1.076 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.9667, allocations: 8 kB / 1.076 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.9695, allocations: 3.846 MB / 1.08 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.9696, allocations: 7.969 kB / 1.08 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009849/0.9706, allocations: 0.7665 MB / 1.08 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.9708, allocations: 162 kB / 1.08 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.9708, allocations: 4 kB / 1.08 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.9711, allocations: 15.98 kB / 1.081 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.9712, allocations: 23.34 kB / 1.081 GB, free: 8.938 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.9712, allocations: 11.62 kB / 1.081 GB, free: 8.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002521/0.9714, allocations: 265.9 kB / 1.081 GB, free: 8.727 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006419/0.9721, allocations: 131.8 kB / 1.081 GB, free: 8.598 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001654/0.9723, allocations: 107.2 kB / 1.081 GB, free: 8.484 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.9735, allocations: 0.9612 MB / 1.082 GB, free: 7.586 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9735, allocations: 1 kB / 1.082 GB, free: 7.586 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.9743, allocations: 0.7 MB / 1.083 GB, free: 6.871 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.9751, allocations: 160.8 kB / 1.083 GB, free: 6.742 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.9764, allocations: 0.748 MB / 1.084 GB, free: 6.027 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.977, allocations: 0.9615 MB / 1.084 GB, free: 5.051 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.977, allocations: 0 / 1.084 GB, free: 5.051 MB / 0.698 GB Notification: Performance of Templates: time 0.01327/0.9903, allocations: 7.011 MB / 1.091 GB, free: 14.12 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches