Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.927/1.927, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001232/0.001232, allocations: 180.7 kB / 487 MB, free: 5.379 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.268/1.268, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.00097, allocations: 98.34 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.745e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.84/4.064, allocations: 1.912 GB / 3.117 GB, free: 416.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/4.064, allocations: 99.81 kB / 3.117 GB, free: 416.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.307/5.371, allocations: 462.1 MB / 3.569 GB, free: 307 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.816e-05/5.371, allocations: 18.69 kB / 3.569 GB, free: 307 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001674/5.373, allocations: 1.018 MB / 3.57 GB, free: 306.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/5.373, allocations: 7.656 kB / 3.57 GB, free: 306.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009982/5.374, allocations: 178.7 kB / 3.57 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/5.375, allocations: 0.7057 MB / 3.571 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/5.375, allocations: 10.75 kB / 3.571 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/5.375, allocations: 31.72 kB / 3.571 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000419/5.376, allocations: 272 kB / 3.571 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/5.376, allocations: 374 kB / 3.571 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/5.376, allocations: 0 / 3.571 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/5.376, allocations: 3.562 kB / 3.571 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/5.376, allocations: 21.97 kB / 3.571 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/5.379, allocations: 1.893 MB / 3.573 GB, free: 305.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/5.379, allocations: 321.7 kB / 3.573 GB, free: 305.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/5.379, allocations: 136.2 kB / 3.573 GB, free: 305.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/5.38, allocations: 198.5 kB / 3.574 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/5.38, allocations: 37.45 kB / 3.574 GB, free: 304.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/5.38, allocations: 3.531 kB / 3.574 GB, free: 304.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.0009768/5.381, allocations: 407.2 kB / 3.574 GB, free: 304.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/5.381, allocations: 54.34 kB / 3.574 GB, free: 304.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/5.381, allocations: 0.6463 MB / 3.575 GB, free: 304.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/5.381, allocations: 29.23 kB / 3.575 GB, free: 304.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/5.381, allocations: 221 kB / 3.575 GB, free: 304.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/5.381, allocations: 93.88 kB / 3.575 GB, free: 304.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/5.381, allocations: 0 / 3.575 GB, free: 304.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/5.382, allocations: 323.7 kB / 3.575 GB, free: 304.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/5.382, allocations: 104.2 kB / 3.576 GB, free: 304.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/5.382, allocations: 283.1 kB / 3.576 GB, free: 304 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/5.382, allocations: 141.2 kB / 3.576 GB, free: 304 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/5.382, allocations: 3.938 kB / 3.576 GB, free: 304 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006672/5.383, allocations: 407.1 kB / 3.576 GB, free: 303.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/5.383, allocations: 275.5 kB / 3.577 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/5.383, allocations: 0 / 3.577 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/5.383, allocations: 32.31 kB / 3.577 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/5.384, allocations: 116.7 kB / 3.577 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005164/5.384, allocations: 1.165 MB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/5.385, allocations: 93.81 kB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/5.385, allocations: 14.19 kB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/5.385, allocations: 3.938 kB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005026/5.386, allocations: 287.4 kB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/5.386, allocations: 7.281 kB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/5.386, allocations: 36.58 kB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/5.386, allocations: 99.41 kB / 3.578 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/5.387, allocations: 1.397 MB / 3.58 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/5.388, allocations: 94.88 kB / 3.58 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/5.388, allocations: 22.78 kB / 3.58 GB, free: 301.2 MB / 1.151 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 9.514e-05/5.388, allocations: 114.4 kB / 3.58 GB, free: 301.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/5.388, allocations: 65.81 kB / 3.58 GB, free: 301.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/5.389, allocations: 413.5 kB / 3.58 GB, free: 301 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/5.389, allocations: 7.781 kB / 3.58 GB, free: 301 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/5.389, allocations: 0 / 3.58 GB, free: 301 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/5.389, allocations: 3.703 kB / 3.58 GB, free: 301 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/5.39, allocations: 1.124 MB / 3.582 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/5.39, allocations: 3.719 kB / 3.582 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/5.391, allocations: 72.31 kB / 3.582 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.343e-05/5.391, allocations: 27.06 kB / 3.582 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/5.391, allocations: 13.14 kB / 3.582 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003976/5.391, allocations: 1.154 MB / 3.583 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/5.391, allocations: 7.188 kB / 3.583 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007681/5.392, allocations: 0.7217 MB / 3.583 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/5.392, allocations: 214.3 kB / 3.584 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/5.392, allocations: 7.844 kB / 3.584 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/5.393, allocations: 62.73 kB / 3.584 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/5.393, allocations: 19.77 kB / 3.584 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/5.393, allocations: 14.56 kB / 3.584 GB, free: 299.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005453/5.394, allocations: 0.5105 MB / 3.584 GB, free: 299 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001154/5.395, allocations: 395.5 kB / 3.585 GB, free: 299 MB / 1.151 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.001574/5.397, allocations: 1.427 MB / 3.586 GB, free: 298.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001028/5.398, allocations: 0.5545 MB / 3.587 GB, free: 298.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/5.398, allocations: 1.594 kB / 3.587 GB, free: 298.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/5.398, allocations: 170.9 kB / 3.587 GB, free: 298.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/5.399, allocations: 233.4 kB / 3.587 GB, free: 298.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/5.401, allocations: 0.9022 MB / 3.588 GB, free: 298.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/5.401, allocations: 1.022 MB / 3.589 GB, free: 297.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/5.401, allocations: 0 / 3.589 GB, free: 297.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02917/5.43, allocations: 21.2 MB / 3.61 GB, free: 297.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches