Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") [: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.471/1.471, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.001007/0.001008, allocations: 185.2 kB / 316 MB, free: 3.547 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.19/1.19, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.001052/0.001051, allocations: 82.22 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.564e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5596/0.7349, allocations: 150.6 MB / 1.032 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.7353, allocations: 93.44 kB / 1.032 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07781/0.8131, allocations: 34.9 MB / 1.066 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.795e-05/0.8132, allocations: 24 kB / 1.066 GB, free: 8.23 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.001936/0.8151, allocations: 1.163 MB / 1.067 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.8152, allocations: 12.03 kB / 1.067 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.8167, allocations: 254.2 kB / 1.067 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.8179, allocations: 0.72 MB / 1.068 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.8179, allocations: 40 kB / 1.068 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.8181, allocations: 72 kB / 1.068 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00218/0.8203, allocations: 1.512 MB / 1.069 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.8227, allocations: 1.769 MB / 1.071 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.8228, allocations: 3.938 kB / 1.071 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.8229, allocations: 0 / 1.071 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.823, allocations: 69.42 kB / 1.071 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008194/0.8312, allocations: 7.863 MB / 1.079 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.8313, allocations: 128.1 kB / 1.079 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.8314, allocations: 81.56 kB / 1.079 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.8316, allocations: 92.53 kB / 1.079 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.8316, allocations: 38.5 kB / 1.079 GB, free: 12.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.8316, allocations: 0 / 1.079 GB, free: 12.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006315/0.8323, allocations: 257.7 kB / 1.08 GB, free: 12.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.8323, allocations: 128.5 kB / 1.08 GB, free: 12.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.8332, allocations: 0.8267 MB / 1.08 GB, free: 11.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.8332, allocations: 29.8 kB / 1.08 GB, free: 11.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.8337, allocations: 0.7515 MB / 1.081 GB, free: 10.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.8337, allocations: 52.78 kB / 1.081 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.8338, allocations: 0 / 1.081 GB, free: 10.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8339, allocations: 367.7 kB / 1.082 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.8344, allocations: 416.3 kB / 1.082 GB, free: 10.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008551/0.8352, allocations: 1.143 MB / 1.083 GB, free: 8.664 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.8363, allocations: 0.8049 MB / 1.084 GB, free: 8.055 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.8363, allocations: 8 kB / 1.084 GB, free: 8.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002027/0.8383, allocations: 1.46 MB / 1.085 GB, free: 6.852 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.8384, allocations: 4 kB / 1.085 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.8384, allocations: 28 kB / 1.085 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/0.8385, allocations: 40 kB / 1.085 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.8392, allocations: 277.1 kB / 1.086 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.542e-05/0.8393, allocations: 60.25 kB / 1.086 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.8401, allocations: 154.3 kB / 1.086 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.8402, allocations: 77.55 kB / 1.086 GB, free: 6.242 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.8403, allocations: 162.8 kB / 1.086 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.8405, allocations: 59.34 kB / 1.086 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.8408, allocations: 151 kB / 1.086 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.8408, allocations: 4 kB / 1.086 GB, free: 5.875 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8408, allocations: 3.984 kB / 1.086 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.8408, allocations: 3.938 kB / 1.086 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/0.8416, allocations: 0.5032 MB / 1.087 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8416, allocations: 0 / 1.087 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.8416, allocations: 4 kB / 1.087 GB, free: 5.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8416, allocations: 0 / 1.087 GB, free: 5.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.8416, allocations: 7.984 kB / 1.087 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8416, allocations: 0 / 1.087 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8417, allocations: 0 / 1.087 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002284/0.8419, allocations: 390.5 kB / 1.087 GB, free: 5.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.8421, allocations: 150.3 kB / 1.087 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.8421, allocations: 7.984 kB / 1.087 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.8424, allocations: 4 kB / 1.087 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.8424, allocations: 7.891 kB / 1.087 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.8425, allocations: 4 kB / 1.087 GB, free: 4.844 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006024/0.8431, allocations: 0.6261 MB / 1.088 GB, free: 4.379 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001014/0.8441, allocations: 278.9 kB / 1.088 GB, free: 4.105 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.8442, allocations: 111.2 kB / 1.088 GB, free: 3.988 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007621/0.845, allocations: 0.681 MB / 1.089 GB, free: 3.461 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.845, allocations: 0 / 1.089 GB, free: 3.461 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.845, allocations: 21.17 kB / 1.089 GB, free: 3.445 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.8454, allocations: 41.75 kB / 1.089 GB, free: 3.422 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.8473, allocations: 1.302 MB / 1.09 GB, free: 2.266 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.8483, allocations: 1.347 MB / 1.092 GB, free: 1.039 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.8483, allocations: 4 kB / 1.092 GB, free: 1.035 MB / 0.698 GB Notification: Performance of Templates: time 0.01105/0.8594, allocations: 5.713 MB / 1.097 GB, free: 11.35 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches