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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001152/0.001152, allocations: 175.7 kB / 492.3 MB, free: 0.6367 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.591/1.591, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 99.83 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.514e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3665, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.194/6.56, allocations: 1.923 GB / 3.135 GB, free: 407.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/6.561, allocations: 84.58 kB / 3.135 GB, free: 407.6 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 - DAE generated: time 1.982/8.542, allocations: 462.3 MB / 3.587 GB, free: 294.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.783e-06/8.542, allocations: 3.625 kB / 3.587 GB, free: 294.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001061/8.542, allocations: 26.27 kB / 3.587 GB, free: 294.8 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.005935/8.548, allocations: 1.502 MB / 3.588 GB, free: 294.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/8.548, allocations: 7.531 kB / 3.588 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/8.55, allocations: 161.8 kB / 3.589 GB, free: 294.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/8.552, allocations: 0.636 MB / 3.589 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/8.552, allocations: 68.48 kB / 3.589 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003966/8.552, allocations: 86.25 kB / 3.589 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/8.555, allocations: 1.162 MB / 3.591 GB, free: 293.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/8.555, allocations: 10.59 kB / 3.591 GB, free: 293.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/8.555, allocations: 34.89 kB / 3.591 GB, free: 293.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.023e-05/8.555, allocations: 47.59 kB / 3.591 GB, free: 293.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/8.558, allocations: 1.449 MB / 3.592 GB, free: 293.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005118/8.563, allocations: 3.325 MB / 3.595 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/8.565, allocations: 1.487 MB / 3.597 GB, free: 292.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009396/8.566, allocations: 0.7362 MB / 3.597 GB, free: 292.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/8.567, allocations: 1.536 MB / 3.599 GB, free: 290.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/8.568, allocations: 0.7372 MB / 3.6 GB, free: 290.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 3.386e-06/8.568, allocations: 0 / 3.6 GB, free: 290.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.00267/8.571, allocations: 1.44 MB / 3.601 GB, free: 290.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/8.571, allocations: 92.7 kB / 3.601 GB, free: 290.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009643/8.572, allocations: 0.6837 MB / 3.602 GB, free: 290.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/8.572, allocations: 54.61 kB / 3.602 GB, free: 290.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/8.572, allocations: 361.2 kB / 3.602 GB, free: 290.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00038/8.573, allocations: 423.5 kB / 3.603 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/8.573, allocations: 21.81 kB / 3.603 GB, free: 290.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001726/8.573, allocations: 410.7 kB / 3.603 GB, free: 289.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/8.574, allocations: 0.5208 MB / 3.604 GB, free: 289.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000931/8.575, allocations: 0.6392 MB / 3.604 GB, free: 289.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/8.576, allocations: 0.6382 MB / 3.605 GB, free: 289.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/8.576, allocations: 0 / 3.605 GB, free: 289.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002583/8.578, allocations: 1.53 MB / 3.606 GB, free: 289.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/8.578, allocations: 36.77 kB / 3.606 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/8.578, allocations: 3.719 kB / 3.606 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/8.579, allocations: 3.812 kB / 3.606 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/8.58, allocations: 223.7 kB / 3.607 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/8.58, allocations: 10.78 kB / 3.607 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/8.581, allocations: 119.1 kB / 3.607 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/8.581, allocations: 54 kB / 3.607 GB, free: 289.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0003056/8.581, allocations: 197.2 kB / 3.607 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/8.581, allocations: 105.5 kB / 3.607 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/8.584, allocations: 1.691 MB / 3.609 GB, free: 289.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/8.585, allocations: 10.66 kB / 3.609 GB, free: 289.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/8.585, allocations: 3.625 kB / 3.609 GB, free: 289.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/8.585, allocations: 7.875 kB / 3.609 GB, free: 289.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/8.591, allocations: 3.849 MB / 3.612 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/8.591, allocations: 11.02 kB / 3.612 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/8.592, allocations: 214 kB / 3.613 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/8.592, allocations: 18.17 kB / 3.613 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.136e-05/8.592, allocations: 35.53 kB / 3.613 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.589e-05/8.592, allocations: 22.36 kB / 3.613 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/8.592, allocations: 11.12 kB / 3.613 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/8.596, allocations: 3.008 MB / 3.616 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/8.597, allocations: 342.4 kB / 3.616 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/8.597, allocations: 34.5 kB / 3.616 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/8.598, allocations: 58.67 kB / 3.616 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/8.598, allocations: 105.9 kB / 3.616 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/8.598, allocations: 53.81 kB / 3.616 GB, free: 287.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000766/8.599, allocations: 0.544 MB / 3.617 GB, free: 287.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.599, allocations: 0 / 3.617 GB, free: 287.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001741/8.601, allocations: 0.5156 MB / 3.617 GB, free: 287.1 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.002473/8.603, allocations: 1.604 MB / 3.619 GB, free: 286.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00199/8.605, allocations: 1.345 MB / 3.62 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/8.605, allocations: 0 / 3.62 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000866/8.606, allocations: 0.7449 MB / 3.621 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/8.608, allocations: 380.7 kB / 3.621 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/8.611, allocations: 1.946 MB / 3.623 GB, free: 285.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/8.612, allocations: 1.127 MB / 3.624 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001312/8.613, allocations: 429.9 kB / 3.625 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/8.613, allocations: 91.02 kB / 3.625 GB, free: 285.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.293e-06/8.613, allocations: 0 / 3.625 GB, free: 285.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05412/8.667, allocations: 38.57 MB / 3.662 GB, free: 283.7 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