Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [: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.922/1.922, allocations: 390.4 MB / 397.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 181.6 kB / 490.8 MB, free: 11.21 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.246/1.246, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009187, allocations: 104 kB / 0.9264 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 5.982e-06/6.142e-06, allocations: 0 / 1.072 GB, free: 15.59 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6163, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.374/3.991, allocations: 1.913 GB / 3.124 GB, free: 225 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/3.991, allocations: 91.44 kB / 3.125 GB, free: 224.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.492/5.483, allocations: 462.1 MB / 3.576 GB, free: 223.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001035/5.483, allocations: 16 kB / 3.576 GB, free: 223.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002532/5.486, allocations: 1.008 MB / 3.577 GB, free: 222.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/5.486, allocations: 12.02 kB / 3.577 GB, free: 222.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/5.487, allocations: 174.7 kB / 3.577 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/5.489, allocations: 0.7108 MB / 3.578 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/5.489, allocations: 12 kB / 3.578 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/5.489, allocations: 28 kB / 3.578 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005156/5.49, allocations: 277.4 kB / 3.578 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/5.49, allocations: 381.9 kB / 3.578 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/5.49, allocations: 0 / 3.578 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/5.49, allocations: 0 / 3.578 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/5.49, allocations: 16.66 kB / 3.578 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/5.493, allocations: 1.899 MB / 3.58 GB, free: 218.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/5.494, allocations: 319.4 kB / 3.58 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/5.494, allocations: 137.3 kB / 3.581 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/5.494, allocations: 198.3 kB / 3.581 GB, free: 217.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/5.494, allocations: 42.8 kB / 3.581 GB, free: 217.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/5.494, allocations: 0 / 3.581 GB, free: 217.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001192/5.495, allocations: 397.2 kB / 3.581 GB, free: 217.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/5.496, allocations: 55.41 kB / 3.581 GB, free: 217.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/5.496, allocations: 0.6444 MB / 3.582 GB, free: 216.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/5.496, allocations: 29.7 kB / 3.582 GB, free: 216.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/5.497, allocations: 224.7 kB / 3.582 GB, free: 216.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/5.497, allocations: 98.5 kB / 3.582 GB, free: 216.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/5.497, allocations: 0 / 3.582 GB, free: 216.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/5.497, allocations: 321.9 kB / 3.583 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/5.497, allocations: 104 kB / 3.583 GB, free: 216 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/5.497, allocations: 271.9 kB / 3.583 GB, free: 215.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/5.497, allocations: 151.2 kB / 3.583 GB, free: 215.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/5.497, allocations: 0 / 3.583 GB, free: 215.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007442/5.498, allocations: 399 kB / 3.583 GB, free: 215.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/5.498, allocations: 280.1 kB / 3.584 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/5.498, allocations: 0 / 3.584 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/5.498, allocations: 32.83 kB / 3.584 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/5.499, allocations: 123.7 kB / 3.584 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005866/5.5, allocations: 1.173 MB / 3.585 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/5.501, allocations: 95.86 kB / 3.585 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/5.501, allocations: 12 kB / 3.585 GB, free: 213.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/5.501, allocations: 7.906 kB / 3.585 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005062/5.501, allocations: 281.9 kB / 3.585 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/5.501, allocations: 0 / 3.585 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/5.501, allocations: 40.83 kB / 3.585 GB, free: 213 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/5.502, allocations: 99.88 kB / 3.586 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009813/5.503, allocations: 1.388 MB / 3.587 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/5.504, allocations: 91.86 kB / 3.587 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/5.504, allocations: 15.98 kB / 3.587 GB, free: 211.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001261/5.504, allocations: 117 kB / 3.587 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/5.504, allocations: 67.14 kB / 3.587 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007401/5.505, allocations: 410.5 kB / 3.588 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/5.505, allocations: 4 kB / 3.588 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/5.505, allocations: 0 / 3.588 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/5.505, allocations: 7.891 kB / 3.588 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/5.507, allocations: 1.132 MB / 3.589 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/5.507, allocations: 0 / 3.589 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/5.507, allocations: 75.98 kB / 3.589 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.231e-05/5.507, allocations: 28.84 kB / 3.589 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/5.507, allocations: 8 kB / 3.589 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004135/5.508, allocations: 1.158 MB / 3.59 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/5.508, allocations: 0 / 3.59 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008037/5.508, allocations: 0.7381 MB / 3.591 GB, free: 207.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/5.509, allocations: 212 kB / 3.591 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/5.509, allocations: 8 kB / 3.591 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/5.51, allocations: 59.83 kB / 3.591 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/5.51, allocations: 15.97 kB / 3.591 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/5.51, allocations: 16 kB / 3.591 GB, free: 207 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0005761/5.51, allocations: 0.5109 MB / 3.591 GB, free: 206.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001313/5.512, allocations: 403.4 kB / 3.592 GB, free: 206.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001929/5.514, allocations: 1.408 MB / 3.593 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0012/5.515, allocations: 0.572 MB / 3.594 GB, free: 204.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/5.515, allocations: 0 / 3.594 GB, free: 204.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/5.515, allocations: 155.8 kB / 3.594 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/5.516, allocations: 230.2 kB / 3.594 GB, free: 203.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/5.518, allocations: 0.9176 MB / 3.595 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/5.519, allocations: 1.016 MB / 3.596 GB, free: 201.7 MB / 1.167 GB Notification: Performance of SimCode: time 3e-07/5.519, allocations: 0 / 3.596 GB, free: 201.7 MB / 1.167 GB Notification: Performance of Templates: time 0.03283/5.552, allocations: 21.2 MB / 3.617 GB, free: 180.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches