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.278/2.278, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.000999/0.000999, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.535/1.535, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.00104/0.00104, allocations: 91.91 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.349e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 142.3 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.257/6.591, allocations: 1.922 GB / 3.128 GB, free: 430.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/6.592, allocations: 83.95 kB / 3.128 GB, free: 430.2 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.876/8.468, allocations: 456.3 MB / 3.574 GB, free: 295.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.945e-06/8.468, allocations: 0 / 3.574 GB, free: 295.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.762e-05/8.468, allocations: 26.28 kB / 3.574 GB, free: 295.9 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.005462/8.474, allocations: 1.503 MB / 3.575 GB, free: 295.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/8.474, allocations: 16.05 kB / 3.576 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007767/8.475, allocations: 156.9 kB / 3.576 GB, free: 295.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/8.476, allocations: 0.6341 MB / 3.576 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/8.476, allocations: 28.66 kB / 3.576 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/8.476, allocations: 51.48 kB / 3.576 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002359/8.479, allocations: 1.318 MB / 3.578 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/8.481, allocations: 1.048 MB / 3.579 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/8.481, allocations: 3.906 kB / 3.579 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/8.481, allocations: 2.094 kB / 3.579 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.896e-05/8.481, allocations: 50.66 kB / 3.579 GB, free: 295 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.006308/8.487, allocations: 3.113 MB / 3.582 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/8.49, allocations: 1.416 MB / 3.583 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/8.491, allocations: 0.6947 MB / 3.584 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/8.493, allocations: 1.544 MB / 3.585 GB, free: 292.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/8.495, allocations: 0.6974 MB / 3.586 GB, free: 292.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 4.238e-06/8.495, allocations: 0 / 3.586 GB, free: 292.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.004319/8.499, allocations: 1.454 MB / 3.587 GB, free: 292 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/8.499, allocations: 97.08 kB / 3.588 GB, free: 291.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/8.5, allocations: 498 kB / 3.588 GB, free: 291.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-05/8.5, allocations: 31.14 kB / 3.588 GB, free: 291.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/8.501, allocations: 375.3 kB / 3.588 GB, free: 291.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005058/8.501, allocations: 406.3 kB / 3.589 GB, free: 291.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/8.501, allocations: 1.406 kB / 3.589 GB, free: 291.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002224/8.502, allocations: 406.6 kB / 3.589 GB, free: 291.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/8.503, allocations: 0.4909 MB / 3.59 GB, free: 291.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/8.504, allocations: 0.6505 MB / 3.59 GB, free: 291 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/8.506, allocations: 0.7078 MB / 3.591 GB, free: 291 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/8.506, allocations: 3.562 kB / 3.591 GB, free: 291 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003955/8.51, allocations: 1.53 MB / 3.592 GB, free: 290.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/8.51, allocations: 40.52 kB / 3.593 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/8.51, allocations: 3 kB / 3.593 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.511e-05/8.51, allocations: 12.08 kB / 3.593 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/8.511, allocations: 222.2 kB / 3.593 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/8.511, allocations: 12.8 kB / 3.593 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/8.512, allocations: 93.45 kB / 3.593 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/8.512, allocations: 52.8 kB / 3.593 GB, free: 290.8 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.0002937/8.513, allocations: 161.7 kB / 3.593 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/8.513, allocations: 87.16 kB / 3.593 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/8.517, allocations: 1.657 MB / 3.595 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/8.517, allocations: 11.81 kB / 3.595 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/8.517, allocations: 5.141 kB / 3.595 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/8.517, allocations: 7.5 kB / 3.595 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008365/8.526, allocations: 3.585 MB / 3.598 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/8.526, allocations: 7.812 kB / 3.598 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/8.527, allocations: 217.5 kB / 3.598 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/8.527, allocations: 10.38 kB / 3.598 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/8.527, allocations: 25.62 kB / 3.599 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/8.527, allocations: 17.69 kB / 3.599 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-05/8.527, allocations: 15.88 kB / 3.599 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/8.532, allocations: 2.977 MB / 3.601 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/8.532, allocations: 324.5 kB / 3.602 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/8.532, allocations: 18.34 kB / 3.602 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/8.533, allocations: 44.7 kB / 3.602 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/8.533, allocations: 100.8 kB / 3.602 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/8.534, allocations: 50.5 kB / 3.602 GB, free: 288.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006445/8.534, allocations: 395.1 kB / 3.602 GB, free: 288.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/8.534, allocations: 0 / 3.602 GB, free: 288.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002046/8.536, allocations: 459 kB / 3.603 GB, free: 288.6 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.003/8.539, allocations: 1.791 MB / 3.605 GB, free: 288.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002094/8.541, allocations: 1.275 MB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/8.541, allocations: 4.781 kB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008563/8.542, allocations: 0.7073 MB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/8.544, allocations: 231.9 kB / 3.607 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/8.547, allocations: 1.842 MB / 3.608 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/8.548, allocations: 1.137 MB / 3.61 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001305/8.549, allocations: 407.4 kB / 3.61 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/8.549, allocations: 84.06 kB / 3.61 GB, free: 286.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.543e-06/8.549, allocations: 0 / 3.61 GB, free: 286.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03762/8.587, allocations: 21.06 MB / 3.631 GB, free: 286.3 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