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.391/2.391, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001088/0.001088, allocations: 179.3 kB / 498.1 MB, free: 5.684 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.551/1.551, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001081/0.001081, allocations: 102.7 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003982, allocations: 10.34 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.381, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.042/5.423, allocations: 1.923 GB / 3.146 GB, free: 64.31 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/5.423, allocations: 90.52 kB / 3.146 GB, free: 64.26 MB / 1.167 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.637/7.06, allocations: 462.7 MB / 3.598 GB, free: 75.14 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.637e-06/7.06, allocations: 0 / 3.598 GB, free: 75.14 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.143e-05/7.06, allocations: 27.98 kB / 3.598 GB, free: 75.11 MB / 1.167 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.005061/7.065, allocations: 1.649 MB / 3.6 GB, free: 73.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/7.065, allocations: 12.03 kB / 3.6 GB, free: 73.39 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/7.066, allocations: 162.5 kB / 3.6 GB, free: 73.23 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/7.067, allocations: 0.6368 MB / 3.6 GB, free: 72.55 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/7.067, allocations: 69.98 kB / 3.6 GB, free: 72.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/7.067, allocations: 87.94 kB / 3.6 GB, free: 72.39 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/7.069, allocations: 1.176 MB / 3.602 GB, free: 71.21 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/7.069, allocations: 4 kB / 3.602 GB, free: 71.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/7.069, allocations: 36 kB / 3.602 GB, free: 71.17 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/7.069, allocations: 45.98 kB / 3.602 GB, free: 71.12 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/7.071, allocations: 1.472 MB / 3.603 GB, free: 69.65 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004754/7.076, allocations: 3.329 MB / 3.606 GB, free: 66.14 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/7.078, allocations: 1.506 MB / 3.608 GB, free: 64.62 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/7.079, allocations: 1.548 MB / 3.609 GB, free: 62.75 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009367/7.08, allocations: 0.7415 MB / 3.61 GB, free: 61.98 MB / 1.167 GB Notification: Performance of pre-optimization done (n=127): time 3.577e-06/7.08, allocations: 0 / 3.61 GB, free: 61.98 MB / 1.167 GB Notification: Performance of matching and sorting (n=127): time 0.003155/7.083, allocations: 2.066 MB / 3.612 GB, free: 59.89 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/7.083, allocations: 98.11 kB / 3.612 GB, free: 59.78 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/7.084, allocations: 0.6871 MB / 3.613 GB, free: 59.09 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/7.084, allocations: 53.64 kB / 3.613 GB, free: 59.03 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/7.085, allocations: 357.4 kB / 3.613 GB, free: 58.67 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/7.085, allocations: 429.8 kB / 3.614 GB, free: 58.25 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/7.085, allocations: 24 kB / 3.614 GB, free: 58.22 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001758/7.085, allocations: 406.7 kB / 3.614 GB, free: 57.82 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/7.086, allocations: 0.5257 MB / 3.615 GB, free: 57.29 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007477/7.087, allocations: 0.6562 MB / 3.615 GB, free: 56.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/7.088, allocations: 0.6522 MB / 3.616 GB, free: 55.96 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/7.088, allocations: 0 / 3.616 GB, free: 55.96 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002137/7.09, allocations: 1.54 MB / 3.617 GB, free: 54.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/7.09, allocations: 35.39 kB / 3.617 GB, free: 54.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.09, allocations: 4 kB / 3.617 GB, free: 54.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/7.09, allocations: 8 kB / 3.617 GB, free: 54.35 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/7.091, allocations: 223.7 kB / 3.618 GB, free: 54.13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/7.091, allocations: 4.062 kB / 3.618 GB, free: 54.13 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/7.092, allocations: 134.8 kB / 3.618 GB, free: 54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/7.092, allocations: 51.98 kB / 3.618 GB, free: 53.95 MB / 1.167 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 () * Number of clocked 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.0006874/7.093, allocations: 371.1 kB / 3.618 GB, free: 53.57 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/7.093, allocations: 106.8 kB / 3.618 GB, free: 53.46 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/7.096, allocations: 1.701 MB / 3.62 GB, free: 51.74 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/7.096, allocations: 12 kB / 3.62 GB, free: 51.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/7.096, allocations: 4 kB / 3.62 GB, free: 51.72 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/7.096, allocations: 7.969 kB / 3.62 GB, free: 51.71 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/7.101, allocations: 3.863 MB / 3.624 GB, free: 47.66 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/7.101, allocations: 12.16 kB / 3.624 GB, free: 47.65 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/7.102, allocations: 211.7 kB / 3.624 GB, free: 47.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/7.102, allocations: 12 kB / 3.624 GB, free: 47.43 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/7.102, allocations: 39.98 kB / 3.624 GB, free: 47.39 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/7.102, allocations: 15.94 kB / 3.624 GB, free: 47.38 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/7.102, allocations: 11.94 kB / 3.624 GB, free: 47.37 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/7.106, allocations: 3.041 MB / 3.627 GB, free: 44.03 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/7.107, allocations: 343.5 kB / 3.627 GB, free: 43.68 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/7.107, allocations: 35.98 kB / 3.627 GB, free: 43.64 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/7.108, allocations: 59.97 kB / 3.627 GB, free: 43.58 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/7.108, allocations: 100.7 kB / 3.628 GB, free: 43.48 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/7.108, allocations: 59.98 kB / 3.628 GB, free: 43.43 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007254/7.109, allocations: 0.5459 MB / 3.628 GB, free: 42.88 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/7.109, allocations: 0 / 3.628 GB, free: 42.88 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002246/7.111, allocations: 0.5153 MB / 3.629 GB, free: 42.37 MB / 1.167 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) * Number of clocked states: 0 () * 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.002789/7.114, allocations: 1.622 MB / 3.63 GB, free: 40.69 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002013/7.116, allocations: 1.358 MB / 3.632 GB, free: 39.32 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/7.116, allocations: 0 / 3.632 GB, free: 39.32 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/7.117, allocations: 0.7641 MB / 3.632 GB, free: 38.54 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/7.119, allocations: 380.2 kB / 3.633 GB, free: 38.17 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/7.123, allocations: 2.695 MB / 3.635 GB, free: 35.36 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/7.124, allocations: 1.125 MB / 3.636 GB, free: 34.21 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001374/7.125, allocations: 431.6 kB / 3.637 GB, free: 33.78 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/7.125, allocations: 87.42 kB / 3.637 GB, free: 33.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.663e-06/7.125, allocations: 0 / 3.637 GB, free: 33.7 MB / 1.167 GB Notification: Performance of Templates: time 0.7181/7.843, allocations: 34.51 MB / 3.671 GB, free: 306.3 MB / 1.167 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