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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 0.6653 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003975, allocations: 12 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6596, allocations: 142.3 MB / 0.9535 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.1736/0.8332, allocations: 153.5 MB / 1.103 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00735/0.8406, allocations: 4.89 MB / 1.108 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.8414, allocations: 11.88 kB / 1.108 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.8428, allocations: 0.5019 MB / 1.109 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.8459, allocations: 1.18 MB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.8478, allocations: 0.5687 MB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002016/0.8498, allocations: 1.237 MB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009307/0.8507, allocations: 0.6179 MB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.8531, allocations: 1.013 MB / 1.113 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.854, allocations: 0.5764 MB / 1.114 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.8542, allocations: 48 kB / 1.114 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.8563, allocations: 0.8698 MB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.8567, allocations: 399 kB / 1.115 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.8571, allocations: 233.1 kB / 1.115 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.8588, allocations: 1.22 MB / 1.116 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.8588, allocations: 0 / 1.116 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.597e-06/0.8589, allocations: 4 kB / 1.116 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.8589, allocations: 0 / 1.116 GB, free: 8.879 MB / 0.8731 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.003623/0.8625, allocations: 1.464 MB / 1.118 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.8626, allocations: 8.031 kB / 1.118 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.8632, allocations: 158.5 kB / 1.118 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.8642, allocations: 0.6037 MB / 1.119 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.8643, allocations: 66 kB / 1.119 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.8645, allocations: 87.94 kB / 1.119 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.8663, allocations: 1.184 MB / 1.12 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.8663, allocations: 4 kB / 1.12 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.8665, allocations: 35.98 kB / 1.12 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.8665, allocations: 49.97 kB / 1.12 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.8688, allocations: 1.499 MB / 1.121 GB, free: 3.613 MB / 0.8731 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.005403/0.8742, allocations: 3.302 MB / 1.125 GB, free: 132 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.8767, allocations: 1.533 MB / 1.126 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.878, allocations: 1.366 MB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.8791, allocations: 0.7299 MB / 1.128 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=127): time 3.336e-06/0.8791, allocations: 0 / 1.128 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=127): time 0.003317/0.8824, allocations: 2.025 MB / 1.13 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.8825, allocations: 94.11 kB / 1.13 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009729/0.8835, allocations: 0.7661 MB / 1.131 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.8836, allocations: 45.7 kB / 1.131 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.8839, allocations: 357.3 kB / 1.131 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.8843, allocations: 425.8 kB / 1.132 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.8844, allocations: 20 kB / 1.132 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002618/0.8846, allocations: 414.7 kB / 1.132 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/0.8854, allocations: 0.5256 MB / 1.133 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.8863, allocations: 0.6273 MB / 1.133 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.8873, allocations: 0.6404 MB / 1.134 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8873, allocations: 0 / 1.134 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002267/0.8896, allocations: 1.493 MB / 1.135 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.8897, allocations: 33.7 kB / 1.135 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.8897, allocations: 8 kB / 1.135 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.8897, allocations: 7.953 kB / 1.135 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/0.8906, allocations: 223.7 kB / 1.136 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.8907, allocations: 4 kB / 1.136 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.8915, allocations: 130.9 kB / 1.136 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/0.8916, allocations: 39.98 kB / 1.136 GB, free: 4.207 MB / 0.8887 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.000518/0.8921, allocations: 363.2 kB / 1.136 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.8922, allocations: 102.8 kB / 1.136 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.8948, allocations: 1.652 MB / 1.138 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.8948, allocations: 12 kB / 1.138 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.8948, allocations: 11.94 kB / 1.138 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.8949, allocations: 3.984 kB / 1.138 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.9006, allocations: 3.744 MB / 1.142 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.9006, allocations: 7.938 kB / 1.142 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.9015, allocations: 215.7 kB / 1.142 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.085e-05/0.9016, allocations: 16 kB / 1.142 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.932e-05/0.9016, allocations: 32 kB / 1.142 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.806e-05/0.9017, allocations: 19.92 kB / 1.142 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.9017, allocations: 8 kB / 1.142 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.9054, allocations: 2.977 MB / 1.145 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/0.9061, allocations: 335.4 kB / 1.145 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.9064, allocations: 36 kB / 1.145 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.9072, allocations: 56.03 kB / 1.145 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.9074, allocations: 96.72 kB / 1.145 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/0.9075, allocations: 47.98 kB / 1.145 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007535/0.9082, allocations: 0.5459 MB / 1.146 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9083, allocations: 0 / 1.146 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001071/0.9093, allocations: 371.7 kB / 1.146 GB, free: 9.062 MB / 0.9044 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.0006994/0.91, allocations: 293.6 kB / 1.147 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.9121, allocations: 1.393 MB / 1.148 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9122, allocations: 0 / 1.148 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.9132, allocations: 0.7758 MB / 1.149 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.9152, allocations: 382.9 kB / 1.149 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.9192, allocations: 2.715 MB / 1.152 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.92, allocations: 1.122 MB / 1.153 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001364/0.9214, allocations: 439.7 kB / 1.153 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.9218, allocations: 91.36 kB / 1.153 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of SimCode: time 6.32e-07/0.9218, allocations: 0 / 1.153 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of Templates: time 0.02858/0.9504, allocations: 16.6 MB / 1.169 GB, free: 1.285 MB / 0.92 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