Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [: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.454/1.454, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001091/0.001091, allocations: 177.3 kB / 316 MB, free: 3.516 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.593/1.593, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.001126/0.001126, allocations: 89.66 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.051e-05, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2736, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.721/1.995, allocations: 442.2 MB / 1.316 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.995, allocations: 87.95 kB / 1.316 GB, free: 304.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.5484/2.543, allocations: 281.3 MB / 1.591 GB, free: 20.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001002/2.543, allocations: 36.19 kB / 1.591 GB, free: 20.05 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004125/2.548, allocations: 1.874 MB / 1.593 GB, free: 18.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/2.548, allocations: 8.031 kB / 1.593 GB, free: 18.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/2.548, allocations: 193.8 kB / 1.593 GB, free: 17.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/2.551, allocations: 1.363 MB / 1.595 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/2.551, allocations: 52 kB / 1.595 GB, free: 16.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/2.551, allocations: 88 kB / 1.595 GB, free: 16.39 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003261/2.554, allocations: 2.263 MB / 1.597 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/2.557, allocations: 1.652 MB / 1.599 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/2.557, allocations: 4 kB / 1.599 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/2.557, allocations: 0 / 1.599 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/2.557, allocations: 36 kB / 1.599 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007185/2.564, allocations: 4.997 MB / 1.603 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/2.565, allocations: 1.169 MB / 1.605 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/2.567, allocations: 1.355 MB / 1.606 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/2.568, allocations: 1.73 MB / 1.608 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/2.568, allocations: 64.5 kB / 1.608 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=237): time 3.447e-06/2.568, allocations: 0 / 1.608 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of matching and sorting (n=237): time 0.005002/2.573, allocations: 2.446 MB / 1.61 GB, free: 136 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/2.574, allocations: 77.41 kB / 1.61 GB, free: 48 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4789/3.052, allocations: 0.6622 MB / 1.611 GB, free: 291.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007209/3.053, allocations: 25.7 kB / 1.611 GB, free: 291.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/3.054, allocations: 359 kB / 1.611 GB, free: 291.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008313/3.054, allocations: 0.7622 MB / 1.612 GB, free: 291.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/3.054, allocations: 0 / 1.612 GB, free: 291.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001474/3.055, allocations: 391.9 kB / 1.612 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/3.056, allocations: 0.8418 MB / 1.613 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/3.057, allocations: 1.056 MB / 1.614 GB, free: 291 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/3.061, allocations: 1.301 MB / 1.615 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/3.061, allocations: 2.875 kB / 1.615 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005164/3.066, allocations: 2.538 MB / 1.618 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/3.066, allocations: 11.25 kB / 1.618 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/3.066, allocations: 3.844 kB / 1.618 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.105e-05/3.066, allocations: 10.22 kB / 1.618 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/3.068, allocations: 444.2 kB / 1.618 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/3.068, allocations: 14.78 kB / 1.618 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/3.07, allocations: 176.8 kB / 1.618 GB, free: 290.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/3.07, allocations: 72.45 kB / 1.619 GB, free: 290.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0003504/3.07, allocations: 143.7 kB / 1.619 GB, free: 290.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/3.07, allocations: 141.2 kB / 1.619 GB, free: 290.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006456/3.077, allocations: 2.874 MB / 1.622 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/3.077, allocations: 22.12 kB / 1.622 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/3.077, allocations: 0 / 1.622 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004725/3.082, allocations: 2.512 MB / 1.624 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/3.09, allocations: 4.239 MB / 1.628 GB, free: 289.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/3.09, allocations: 3.906 kB / 1.628 GB, free: 289.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/3.092, allocations: 409.8 kB / 1.629 GB, free: 289.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004513/3.093, allocations: 88.06 kB / 1.629 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/3.093, allocations: 21.83 kB / 1.629 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008344/3.094, allocations: 1.133 MB / 1.63 GB, free: 288.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/3.094, allocations: 0 / 1.63 GB, free: 288.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008025/3.102, allocations: 4.219 MB / 1.634 GB, free: 288.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/3.104, allocations: 499.4 kB / 1.634 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/3.104, allocations: 3.75 kB / 1.634 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/3.105, allocations: 75.72 kB / 1.635 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/3.106, allocations: 126.2 kB / 1.635 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/3.106, allocations: 69.58 kB / 1.635 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001001/3.107, allocations: 0.514 MB / 1.635 GB, free: 288.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002981/3.11, allocations: 0.6183 MB / 1.636 GB, free: 288.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/3.111, allocations: 0.5504 MB / 1.636 GB, free: 288 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003931/3.115, allocations: 2.201 MB / 1.639 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/3.115, allocations: 0 / 1.639 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/3.118, allocations: 1.234 MB / 1.64 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/3.121, allocations: 467.5 kB / 1.64 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/3.127, allocations: 3.175 MB / 1.643 GB, free: 287.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/3.129, allocations: 1.568 MB / 1.645 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.543e-06/3.129, allocations: 0 / 1.645 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.05891/3.188, allocations: 31.12 MB / 1.675 GB, free: 286.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches