Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|bouADis.T|bouBDis.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|bouADis.T|bouBDis.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001632/0.001632, allocations: 172.7 kB / 15.95 MB, free: 208 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.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.864/2.864, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 9.547 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.436, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 1.128/1.565, allocations: 224.1 MB / 1.277 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02534/1.59, allocations: 13.51 MB / 1.29 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005425/1.596, allocations: 62.62 kB / 1.29 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004179/1.6, allocations: 0.8376 MB / 1.291 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01576/1.616, allocations: 3.399 MB / 1.294 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00676/1.622, allocations: 1.345 MB / 1.296 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01365/1.636, allocations: 7.268 MB / 1.303 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004719/1.641, allocations: 1.495 MB / 1.304 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007425/1.648, allocations: 1.835 MB / 1.306 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007613/1.656, allocations: 1.949 MB / 1.308 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002112/1.658, allocations: 108.3 kB / 1.308 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/1.673, allocations: 2.394 MB / 1.31 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004122/1.678, allocations: 0.896 MB / 1.311 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004206/1.682, allocations: 0.517 MB / 1.312 GB, free: 21.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.692, allocations: 3.528 MB / 1.315 GB, free: 21.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/1.692, allocations: 1.375 kB / 1.315 GB, free: 21.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.344e-06/1.692, allocations: 0 / 1.315 GB, free: 21.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002523/1.693, allocations: 0 / 1.315 GB, free: 21.71 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01168/1.704, allocations: 2.77 MB / 1.318 GB, free: 20.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.704, allocations: 8.125 kB / 1.318 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/1.71, allocations: 0.6763 MB / 1.318 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/1.715, allocations: 1.51 MB / 1.32 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/1.715, allocations: 154.8 kB / 1.32 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009223/1.716, allocations: 193.8 kB / 1.32 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/1.723, allocations: 2.398 MB / 1.323 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/1.723, allocations: 4 kB / 1.323 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004162/1.723, allocations: 85.86 kB / 1.323 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/1.723, allocations: 88.06 kB / 1.323 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/1.728, allocations: 2.594 MB / 1.325 GB, free: 19.67 MB / 1.014 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.01507/1.744, allocations: 7.878 MB / 1.333 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003683/1.747, allocations: 2.315 MB / 1.335 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/1.75, allocations: 1.326 MB / 1.337 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002068/1.752, allocations: 1.56 MB / 1.338 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.642e-05/1.752, allocations: 63.72 kB / 1.338 GB, free: 14.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=222): time 5.831e-06/1.752, allocations: 0 / 1.338 GB, free: 14.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=226): time 0.0161/1.768, allocations: 6.454 MB / 1.344 GB, free: 13.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/1.768, allocations: 107.3 kB / 1.345 GB, free: 13.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.771, allocations: 1.195 MB / 1.346 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/1.771, allocations: 61.98 kB / 1.346 GB, free: 12.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/1.771, allocations: 0.7634 MB / 1.346 GB, free: 12.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007463/1.772, allocations: 0.7712 MB / 1.347 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.772, allocations: 41.25 kB / 1.347 GB, free: 11.78 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.773, allocations: 381.8 kB / 1.348 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/1.774, allocations: 0.8556 MB / 1.348 GB, free: 11.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/1.776, allocations: 1.113 MB / 1.35 GB, free: 10.99 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05512/1.831, allocations: 9.669 MB / 1.359 GB, free: 8.078 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.831, allocations: 0 / 1.359 GB, free: 8.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005981/1.837, allocations: 2.383 MB / 1.361 GB, free: 7.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.837, allocations: 6.688 kB / 1.361 GB, free: 7.676 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.837, allocations: 9.906 kB / 1.361 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.918e-05/1.837, allocations: 17.7 kB / 1.361 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/1.839, allocations: 429 kB / 1.362 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.807e-05/1.839, allocations: 18.64 kB / 1.362 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/1.842, allocations: 179.9 kB / 1.362 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/1.842, allocations: 76.27 kB / 1.362 GB, free: 7.551 MB / 1.014 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * 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.001688/1.844, allocations: 0.56 MB / 1.363 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007783/1.845, allocations: 196.2 kB / 1.363 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/1.85, allocations: 2.524 MB / 1.365 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/1.85, allocations: 23.3 kB / 1.365 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/1.85, allocations: 1.062 kB / 1.365 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003426/1.853, allocations: 2.099 MB / 1.367 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.864, allocations: 5.317 MB / 1.373 GB, free: 4.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.864, allocations: 9.766 kB / 1.373 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.866, allocations: 461.5 kB / 1.373 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.594e-05/1.866, allocations: 22.53 kB / 1.373 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/1.866, allocations: 58.47 kB / 1.373 GB, free: 4.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.974e-05/1.866, allocations: 20.33 kB / 1.373 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.866, allocations: 8.594 kB / 1.373 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006069/1.872, allocations: 3.915 MB / 1.377 GB, free: 3.125 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/1.874, allocations: 0.4895 MB / 1.377 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005739/1.874, allocations: 56.67 kB / 1.377 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.876, allocations: 150.6 kB / 1.378 GB, free: 2.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.877, allocations: 143.4 kB / 1.378 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/1.877, allocations: 78.97 kB / 1.378 GB, free: 2.402 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001803/1.879, allocations: 0.8265 MB / 1.379 GB, free: 1.797 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.603e-06/1.879, allocations: 4 kB / 1.379 GB, free: 1.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003025/1.882, allocations: 0.6848 MB / 1.379 GB, free: 1.176 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * 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.0009248/1.883, allocations: 355.5 kB / 1.38 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003776/1.887, allocations: 2.18 MB / 1.382 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.887, allocations: 3.938 kB / 1.382 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/1.888, allocations: 1.161 MB / 1.383 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00668/1.895, allocations: 1.142 MB / 1.384 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.905, allocations: 5.804 MB / 1.39 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.907, allocations: 1.654 MB / 1.391 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00398/1.911, allocations: 0.7548 MB / 1.392 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.912, allocations: 181.9 kB / 1.392 GB, free: 5.863 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/1.912, allocations: 0 / 1.392 GB, free: 5.863 MB / 1.029 GB Notification: Performance of Templates: time 0.07233/1.985, allocations: 38.07 MB / 1.429 GB, free: 404 kB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches