Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [: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.944/1.944, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001221/0.001221, allocations: 189.2 kB / 490.8 MB, free: 1.934 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.365/1.365, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.001046/0.001046, allocations: 102.8 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.297e-06/9.317e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2861, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.27/4.557, allocations: 1.916 GB / 3.127 GB, free: 421.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/4.557, allocations: 91.94 kB / 3.127 GB, free: 421.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.773/6.33, allocations: 0.6111 GB / 3.738 GB, free: 233.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.107e-05/6.33, allocations: 28 kB / 3.738 GB, free: 233.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002868/6.333, allocations: 1.303 MB / 3.74 GB, free: 232 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/6.333, allocations: 12.03 kB / 3.74 GB, free: 232 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/6.336, allocations: 386.2 kB / 3.74 GB, free: 231.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/6.338, allocations: 1.058 MB / 3.741 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/6.338, allocations: 12 kB / 3.741 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/6.338, allocations: 44 kB / 3.741 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009024/6.339, allocations: 0.5252 MB / 3.742 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/6.34, allocations: 0.5081 MB / 3.742 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/6.34, allocations: 0 / 3.742 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/6.34, allocations: 3.906 kB / 3.742 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/6.34, allocations: 20.98 kB / 3.742 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/6.344, allocations: 2.646 MB / 3.745 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/6.345, allocations: 0.5087 MB / 3.745 GB, free: 226.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/6.346, allocations: 309.7 kB / 3.746 GB, free: 225.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000486/6.346, allocations: 290.8 kB / 3.746 GB, free: 225.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/6.346, allocations: 42.56 kB / 3.746 GB, free: 225.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/6.346, allocations: 0 / 3.746 GB, free: 225.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001654/6.348, allocations: 0.6922 MB / 3.747 GB, free: 224.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/6.348, allocations: 55.41 kB / 3.747 GB, free: 224.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/6.349, allocations: 0.9608 MB / 3.748 GB, free: 223.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/6.349, allocations: 25.7 kB / 3.748 GB, free: 223.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/6.35, allocations: 277.6 kB / 3.748 GB, free: 223.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/6.35, allocations: 141.9 kB / 3.748 GB, free: 223.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/6.35, allocations: 0 / 3.748 GB, free: 223.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001031/6.35, allocations: 322 kB / 3.748 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/6.35, allocations: 232.6 kB / 3.749 GB, free: 222.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/6.351, allocations: 446.4 kB / 3.749 GB, free: 222.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/6.351, allocations: 295.6 kB / 3.749 GB, free: 221.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.351, allocations: 4 kB / 3.749 GB, free: 221.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001126/6.352, allocations: 0.664 MB / 3.75 GB, free: 221.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/6.352, allocations: 94.98 kB / 3.75 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/6.352, allocations: 7.875 kB / 3.75 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/6.352, allocations: 4 kB / 3.75 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008331/6.353, allocations: 139.8 kB / 3.75 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/6.353, allocations: 0 / 3.75 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/6.355, allocations: 127.6 kB / 3.75 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/6.355, allocations: 31.97 kB / 3.75 GB, free: 220.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/6.355, allocations: 4 kB / 3.75 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008171/6.356, allocations: 0.5304 MB / 3.751 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/6.356, allocations: 0 / 3.751 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/6.356, allocations: 4 kB / 3.751 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/6.356, allocations: 139.8 kB / 3.751 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/6.356, allocations: 0 / 3.751 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/6.358, allocations: 127.6 kB / 3.751 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/6.358, allocations: 31.97 kB / 3.751 GB, free: 220 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001487/6.358, allocations: 116.8 kB / 3.751 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/6.358, allocations: 90.88 kB / 3.751 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/6.359, allocations: 0.7465 MB / 3.752 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/6.359, allocations: 7.984 kB / 3.752 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/6.359, allocations: 7.938 kB / 3.752 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/6.359, allocations: 0 / 3.752 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/6.362, allocations: 1.832 MB / 3.754 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/6.362, allocations: 0 / 3.754 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/6.362, allocations: 124.1 kB / 3.754 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/6.362, allocations: 4 kB / 3.754 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/6.363, allocations: 11.88 kB / 3.754 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/6.363, allocations: 7.906 kB / 3.754 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/6.363, allocations: 4 kB / 3.754 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001268/6.364, allocations: 1.23 MB / 3.755 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/6.364, allocations: 299.7 kB / 3.755 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/6.364, allocations: 11.98 kB / 3.755 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/6.366, allocations: 83.91 kB / 3.756 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/6.366, allocations: 35.86 kB / 3.756 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/6.366, allocations: 23.98 kB / 3.756 GB, free: 215.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008678/6.367, allocations: 0.7546 MB / 3.756 GB, free: 214.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001478/6.368, allocations: 0.507 MB / 3.757 GB, free: 213.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.001979/6.37, allocations: 1.825 MB / 3.759 GB, free: 212.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001169/6.371, allocations: 0.8534 MB / 3.759 GB, free: 211.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/6.371, allocations: 0 / 3.759 GB, free: 211.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/6.372, allocations: 296.4 kB / 3.76 GB, free: 211.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/6.374, allocations: 388.3 kB / 3.76 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/6.376, allocations: 1.313 MB / 3.761 GB, free: 209.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007646/6.377, allocations: 1.175 MB / 3.763 GB, free: 208.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/6.377, allocations: 0 / 3.763 GB, free: 208.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04445/6.421, allocations: 32.69 MB / 3.794 GB, free: 175.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches