Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") [: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.798/1.798, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009631/0.0009631, allocations: 188.2 kB / 487 MB, free: 5.391 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.0009016/0.0009016, allocations: 99.05 kB / 0.9213 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.5e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1987, allocations: 142.3 MB / 1.205 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.314/3.513, allocations: 1.922 GB / 3.127 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/3.513, allocations: 88.72 kB / 3.128 GB, free: 349.9 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.131/4.644, allocations: 461.3 MB / 3.578 GB, free: 303.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.594e-05/4.644, allocations: 23.84 kB / 3.578 GB, free: 303.2 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003607/4.648, allocations: 1.522 MB / 3.58 GB, free: 302.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/4.648, allocations: 7.812 kB / 3.58 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/4.648, allocations: 158.7 kB / 3.58 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/4.649, allocations: 0.6544 MB / 3.58 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/4.649, allocations: 29.97 kB / 3.58 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/4.649, allocations: 51.97 kB / 3.58 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001644/4.651, allocations: 1.315 MB / 3.582 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/4.652, allocations: 1.061 MB / 3.583 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/4.652, allocations: 0 / 3.583 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/4.653, allocations: 3.812 kB / 3.583 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/4.653, allocations: 57.52 kB / 3.583 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/4.657, allocations: 3.497 MB / 3.586 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/4.658, allocations: 1.299 MB / 3.587 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/4.659, allocations: 0.687 MB / 3.588 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/4.66, allocations: 0.9637 MB / 3.589 GB, free: 299.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007529/4.66, allocations: 0.6832 MB / 3.59 GB, free: 299.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 2.595e-06/4.66, allocations: 0 / 3.59 GB, free: 299.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.00266/4.663, allocations: 1.382 MB / 3.591 GB, free: 299.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/4.663, allocations: 94.61 kB / 3.591 GB, free: 299.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/4.664, allocations: 0.5195 MB / 3.592 GB, free: 299.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/4.664, allocations: 26.86 kB / 3.592 GB, free: 299.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/4.664, allocations: 305.1 kB / 3.592 GB, free: 299.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/4.664, allocations: 397.7 kB / 3.592 GB, free: 298.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/4.664, allocations: 0.5312 kB / 3.592 GB, free: 298.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001123/4.665, allocations: 395.8 kB / 3.593 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/4.665, allocations: 0.5064 MB / 3.593 GB, free: 298.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/4.666, allocations: 0.6951 MB / 3.594 GB, free: 298.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/4.667, allocations: 0.7479 MB / 3.595 GB, free: 298.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/4.668, allocations: 1.562 kB / 3.595 GB, free: 298.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002711/4.67, allocations: 1.521 MB / 3.596 GB, free: 298.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/4.67, allocations: 5.531 kB / 3.596 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/4.67, allocations: 4 kB / 3.596 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/4.67, allocations: 9.719 kB / 3.596 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/4.671, allocations: 225.8 kB / 3.596 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/4.671, allocations: 10.2 kB / 3.596 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/4.672, allocations: 92.55 kB / 3.596 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/4.672, allocations: 54.59 kB / 3.597 GB, free: 298.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0001901/4.672, allocations: 170.2 kB / 3.597 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/4.672, allocations: 91.09 kB / 3.597 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/4.676, allocations: 1.609 MB / 3.598 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/4.676, allocations: 16.7 kB / 3.598 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/4.676, allocations: 0 / 3.598 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/4.676, allocations: 7.266 kB / 3.598 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/4.681, allocations: 3.23 MB / 3.602 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/4.681, allocations: 10.95 kB / 3.602 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/4.682, allocations: 203.4 kB / 3.602 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/4.682, allocations: 10.72 kB / 3.602 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/4.682, allocations: 18.53 kB / 3.602 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/4.682, allocations: 17.17 kB / 3.602 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/4.682, allocations: 11.45 kB / 3.602 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003706/4.686, allocations: 2.831 MB / 3.605 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/4.686, allocations: 330.1 kB / 3.605 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/4.686, allocations: 11.31 kB / 3.605 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/4.687, allocations: 40.94 kB / 3.605 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/4.687, allocations: 83.39 kB / 3.605 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/4.687, allocations: 48.39 kB / 3.605 GB, free: 294.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004726/4.688, allocations: 419.7 kB / 3.605 GB, free: 294.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001318/4.689, allocations: 456.7 kB / 3.606 GB, free: 294.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.002095/4.691, allocations: 1.795 MB / 3.608 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001777/4.693, allocations: 1.245 MB / 3.609 GB, free: 293.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/4.693, allocations: 1.188 kB / 3.609 GB, free: 293.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008234/4.694, allocations: 0.6883 MB / 3.61 GB, free: 293.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/4.695, allocations: 214.1 kB / 3.61 GB, free: 293.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/4.698, allocations: 1.869 MB / 3.612 GB, free: 292.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/4.699, allocations: 1.233 MB / 3.613 GB, free: 291.9 MB / 1.151 GB Notification: Performance of SimCode: time 4.51e-07/4.699, allocations: 2.906 kB / 3.613 GB, free: 291.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04086/4.74, allocations: 23.84 MB / 3.636 GB, free: 286.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches