Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") [: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.797/1.797, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.00099/0.00099, allocations: 180 kB / 487 MB, free: 5.41 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.197/1.197, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0009084/0.0009086, allocations: 98.14 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.222e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2137, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.309/3.523, allocations: 1.922 GB / 3.128 GB, free: 402 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/3.523, allocations: 87.77 kB / 3.128 GB, free: 401.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.14/4.663, allocations: 461.3 MB / 3.578 GB, free: 298.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.158e-05/4.663, allocations: 22.66 kB / 3.578 GB, free: 298.6 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.003252/4.666, allocations: 1.521 MB / 3.58 GB, free: 298 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/4.666, allocations: 15.41 kB / 3.58 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000547/4.667, allocations: 161.3 kB / 3.58 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/4.668, allocations: 0.6456 MB / 3.58 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/4.668, allocations: 29.73 kB / 3.58 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/4.668, allocations: 53.56 kB / 3.58 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001656/4.67, allocations: 1.318 MB / 3.582 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/4.671, allocations: 1.066 MB / 3.583 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/4.671, allocations: 0 / 3.583 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/4.671, allocations: 0 / 3.583 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/4.671, allocations: 56.78 kB / 3.583 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/4.675, allocations: 3.231 MB / 3.586 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/4.676, allocations: 1.344 MB / 3.587 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/4.677, allocations: 0.7126 MB / 3.588 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000972/4.678, allocations: 1.54 MB / 3.589 GB, free: 294.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/4.679, allocations: 0.7129 MB / 3.59 GB, free: 294.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 2.585e-06/4.679, allocations: 0 / 3.59 GB, free: 294.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.002476/4.681, allocations: 1.428 MB / 3.592 GB, free: 294.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/4.681, allocations: 95.95 kB / 3.592 GB, free: 294.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/4.682, allocations: 0.4963 MB / 3.592 GB, free: 294.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/4.682, allocations: 25.7 kB / 3.592 GB, free: 294.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/4.682, allocations: 283.7 kB / 3.592 GB, free: 294.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/4.682, allocations: 409.2 kB / 3.593 GB, free: 294 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/4.682, allocations: 3.906 kB / 3.593 GB, free: 294 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/4.682, allocations: 396.1 kB / 3.593 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/4.683, allocations: 0.5141 MB / 3.594 GB, free: 293.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/4.684, allocations: 0.6731 MB / 3.594 GB, free: 293.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/4.685, allocations: 0.7528 MB / 3.595 GB, free: 293.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/4.685, allocations: 0.8438 kB / 3.595 GB, free: 293.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002254/4.687, allocations: 1.512 MB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/4.687, allocations: 7.812 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/4.687, allocations: 11.31 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/4.687, allocations: 11.14 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008684/4.688, allocations: 222.7 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/4.688, allocations: 12 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/4.689, allocations: 92.89 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/4.689, allocations: 50.3 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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.0001761/4.689, allocations: 158.4 kB / 3.597 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/4.689, allocations: 89.62 kB / 3.597 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/4.692, allocations: 1.656 MB / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/4.692, allocations: 14.8 kB / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/4.692, allocations: 0 / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/4.692, allocations: 10.36 kB / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/4.697, allocations: 3.605 MB / 3.602 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/4.697, allocations: 7.656 kB / 3.602 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000822/4.698, allocations: 213.6 kB / 3.603 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/4.698, allocations: 10.22 kB / 3.603 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/4.698, allocations: 26.5 kB / 3.603 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/4.698, allocations: 18.48 kB / 3.603 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/4.698, allocations: 14.34 kB / 3.603 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003211/4.701, allocations: 2.995 MB / 3.606 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/4.702, allocations: 334.7 kB / 3.606 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/4.702, allocations: 13.94 kB / 3.606 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/4.703, allocations: 40.7 kB / 3.606 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/4.703, allocations: 86.03 kB / 3.606 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/4.703, allocations: 54.61 kB / 3.606 GB, free: 291.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003374/4.703, allocations: 396.6 kB / 3.606 GB, free: 291.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001102/4.704, allocations: 464.8 kB / 3.607 GB, free: 291.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * 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.001707/4.706, allocations: 1.808 MB / 3.609 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00139/4.707, allocations: 1.272 MB / 3.61 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/4.707, allocations: 0 / 3.61 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006866/4.708, allocations: 0.7129 MB / 3.611 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/4.709, allocations: 215.2 kB / 3.611 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/4.712, allocations: 1.901 MB / 3.613 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008029/4.713, allocations: 1.237 MB / 3.614 GB, free: 289.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/4.713, allocations: 0 / 3.614 GB, free: 289.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03312/4.746, allocations: 23.96 MB / 3.637 GB, free: 288.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorPressure.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches