Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") [: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.805/1.805, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001027/0.001026, allocations: 184.3 kB / 487 MB, free: 5.336 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.153/1.153, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008591/0.0008593, allocations: 88.98 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.3e-06/5.32e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1877, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.178/3.366, allocations: 1.92 GB / 3.125 GB, free: 408.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/3.366, allocations: 95.8 kB / 3.125 GB, free: 408.7 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 1.534/4.9, allocations: 0.6673 GB / 3.792 GB, free: 165.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.328e-05/4.9, allocations: 18.73 kB / 3.792 GB, free: 165.7 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003236/4.904, allocations: 1.376 MB / 3.794 GB, free: 164.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/4.904, allocations: 9.031 kB / 3.794 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/4.904, allocations: 155.8 kB / 3.794 GB, free: 164.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/4.905, allocations: 0.5553 MB / 3.794 GB, free: 163.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/4.905, allocations: 27.91 kB / 3.794 GB, free: 163.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/4.905, allocations: 43.98 kB / 3.794 GB, free: 163.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007896/4.906, allocations: 0.5741 MB / 3.795 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/4.907, allocations: 0.723 MB / 3.796 GB, free: 162.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/4.907, allocations: 0 / 3.796 GB, free: 162.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/4.907, allocations: 0 / 3.796 GB, free: 162.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/4.907, allocations: 49.97 kB / 3.796 GB, free: 162.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/4.911, allocations: 4.496 MB / 3.8 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/4.911, allocations: 423.2 kB / 3.801 GB, free: 156.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/4.912, allocations: 161.5 kB / 3.801 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000461/4.912, allocations: 0.7639 MB / 3.801 GB, free: 155.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/4.912, allocations: 38.89 kB / 3.801 GB, free: 155.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/4.912, allocations: 0 / 3.801 GB, free: 155.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0007781/4.913, allocations: 410.9 kB / 3.802 GB, free: 155.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/4.913, allocations: 59.41 kB / 3.802 GB, free: 155.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/4.913, allocations: 498.1 kB / 3.802 GB, free: 154.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/4.913, allocations: 25.7 kB / 3.802 GB, free: 154.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/4.914, allocations: 331.2 kB / 3.803 GB, free: 154.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/4.914, allocations: 134 kB / 3.803 GB, free: 154.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/4.914, allocations: 0 / 3.803 GB, free: 154.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/4.914, allocations: 366.8 kB / 3.803 GB, free: 153.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/4.914, allocations: 168.9 kB / 3.803 GB, free: 153.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/4.914, allocations: 312.2 kB / 3.804 GB, free: 153.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/4.914, allocations: 220.8 kB / 3.804 GB, free: 153 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/4.914, allocations: 4 kB / 3.804 GB, free: 153 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007103/4.915, allocations: 0.5317 MB / 3.804 GB, free: 152.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/4.915, allocations: 14.66 kB / 3.804 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/4.915, allocations: 8 kB / 3.804 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/4.915, allocations: 8 kB / 3.804 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/4.916, allocations: 99.89 kB / 3.805 GB, free: 152.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/4.916, allocations: 11.92 kB / 3.805 GB, free: 152.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/4.916, allocations: 71.55 kB / 3.805 GB, free: 152.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/4.916, allocations: 23.94 kB / 3.805 GB, free: 152.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 9.413e-05/4.917, allocations: 132.6 kB / 3.805 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/4.917, allocations: 59.25 kB / 3.805 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/4.917, allocations: 481.7 kB / 3.805 GB, free: 151.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/4.917, allocations: 8 kB / 3.805 GB, free: 151.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/4.917, allocations: 3.906 kB / 3.805 GB, free: 151.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/4.917, allocations: 3.984 kB / 3.805 GB, free: 151.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/4.92, allocations: 1.935 MB / 3.807 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/4.92, allocations: 4 kB / 3.807 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/4.92, allocations: 91.89 kB / 3.807 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/4.92, allocations: 12 kB / 3.807 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/4.92, allocations: 8 kB / 3.807 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/4.92, allocations: 19.92 kB / 3.807 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/4.92, allocations: 15.92 kB / 3.807 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009302/4.921, allocations: 1.275 MB / 3.809 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/4.921, allocations: 200.1 kB / 3.809 GB, free: 147.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/4.922, allocations: 15.91 kB / 3.809 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/4.922, allocations: 44.02 kB / 3.809 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/4.922, allocations: 55.78 kB / 3.809 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/4.922, allocations: 16 kB / 3.809 GB, free: 147.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003248/4.923, allocations: 390.9 kB / 3.809 GB, free: 147 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001077/4.924, allocations: 407.2 kB / 3.81 GB, free: 146.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.002175/4.926, allocations: 2.306 MB / 3.812 GB, free: 144.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005445/4.926, allocations: 406.6 kB / 3.812 GB, free: 143.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/4.926, allocations: 12.88 kB / 3.812 GB, free: 143.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/4.927, allocations: 211.8 kB / 3.812 GB, free: 143.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/4.928, allocations: 219.2 kB / 3.813 GB, free: 143.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/4.929, allocations: 1.154 MB / 3.814 GB, free: 142 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/4.93, allocations: 1.096 MB / 3.815 GB, free: 140.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/4.93, allocations: 4 kB / 3.815 GB, free: 140.9 MB / 1.151 GB Notification: Performance of Templates: time 0.02755/4.958, allocations: 21.59 MB / 3.836 GB, free: 119.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches