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.001009/0.001009, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.907/2.907, allocations: 462.6 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 9.219 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3745, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 1.025/1.399, allocations: 240.2 MB / 1.294 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02491/1.424, allocations: 14.4 MB / 1.308 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/1.429, allocations: 62.53 kB / 1.308 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/1.433, allocations: 1.099 MB / 1.309 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/1.449, allocations: 4.404 MB / 1.313 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006702/1.456, allocations: 1.683 MB / 1.315 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01417/1.47, allocations: 8.639 MB / 1.323 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00399/1.474, allocations: 1.619 MB / 1.325 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006622/1.481, allocations: 1.802 MB / 1.327 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006601/1.488, allocations: 2.023 MB / 1.329 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005275/1.488, allocations: 108 kB / 1.329 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/1.502, allocations: 5.157 MB / 1.334 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00216/1.504, allocations: 0.8999 MB / 1.335 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003595/1.508, allocations: 1.298 MB / 1.336 GB, free: 17.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009631/1.518, allocations: 3.841 MB / 1.34 GB, free: 17.1 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/1.518, allocations: 0 / 1.34 GB, free: 17.1 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.719e-06/1.518, allocations: 0 / 1.34 GB, free: 17.1 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.741e-05/1.518, allocations: 0 / 1.34 GB, free: 17.1 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.007838/1.526, allocations: 2.744 MB / 1.342 GB, free: 15.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.526, allocations: 16.78 kB / 1.342 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/1.53, allocations: 0.6732 MB / 1.343 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/1.533, allocations: 1.557 MB / 1.345 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.533, allocations: 148.9 kB / 1.345 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/1.533, allocations: 193.4 kB / 1.345 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/1.537, allocations: 2.411 MB / 1.347 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/1.537, allocations: 14.41 kB / 1.347 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/1.538, allocations: 81.75 kB / 1.347 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.685e-05/1.538, allocations: 92.61 kB / 1.348 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/1.542, allocations: 2.61 MB / 1.35 GB, free: 14.64 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.01154/1.553, allocations: 7.889 MB / 1.358 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/1.557, allocations: 2.329 MB / 1.36 GB, free: 9.836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/1.558, allocations: 1.325 MB / 1.361 GB, free: 9.648 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/1.56, allocations: 1.567 MB / 1.363 GB, free: 7.906 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.267e-05/1.56, allocations: 56.94 kB / 1.363 GB, free: 7.863 MB / 1.014 GB Notification: Performance of pre-optimization done (n=222): time 4.318e-06/1.56, allocations: 0 / 1.363 GB, free: 7.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=226): time 0.01185/1.572, allocations: 6.465 MB / 1.369 GB, free: 5.809 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/1.572, allocations: 113.2 kB / 1.369 GB, free: 5.707 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/1.574, allocations: 1.215 MB / 1.371 GB, free: 5.047 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001869/1.574, allocations: 69.3 kB / 1.371 GB, free: 4.984 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/1.575, allocations: 0.7544 MB / 1.371 GB, free: 4.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007804/1.575, allocations: 0.7642 MB / 1.372 GB, free: 3.652 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/1.576, allocations: 166.2 kB / 1.372 GB, free: 3.547 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.576, allocations: 301.1 kB / 1.373 GB, free: 3.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/1.577, allocations: 0.8613 MB / 1.373 GB, free: 2.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/1.579, allocations: 1.117 MB / 1.374 GB, free: 2.152 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.07318/1.652, allocations: 11.71 MB / 1.386 GB, free: 13.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/1.652, allocations: 4 kB / 1.386 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004994/1.657, allocations: 2.39 MB / 1.388 GB, free: 10.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.657, allocations: 13.55 kB / 1.388 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.657, allocations: 4 kB / 1.388 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/1.657, allocations: 12 kB / 1.388 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.659, allocations: 421.8 kB / 1.389 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/1.659, allocations: 31.92 kB / 1.389 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/1.662, allocations: 185.9 kB / 1.389 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/1.662, allocations: 75.98 kB / 1.389 GB, free: 9.973 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001334/1.663, allocations: 0.5623 MB / 1.389 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/1.663, allocations: 193.8 kB / 1.39 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/1.668, allocations: 2.536 MB / 1.392 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.668, allocations: 20 kB / 1.392 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.668, allocations: 3.938 kB / 1.392 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003032/1.671, allocations: 2.106 MB / 1.394 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008696/1.679, allocations: 5.319 MB / 1.399 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.68, allocations: 8 kB / 1.399 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.681, allocations: 463.5 kB / 1.4 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/1.682, allocations: 12 kB / 1.4 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.682, allocations: 59.98 kB / 1.4 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/1.682, allocations: 18.53 kB / 1.4 GB, free: 14.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.682, allocations: 6.625 kB / 1.4 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/1.687, allocations: 3.937 MB / 1.404 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.688, allocations: 0.4986 MB / 1.404 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/1.689, allocations: 51.94 kB / 1.404 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/1.69, allocations: 151.6 kB / 1.404 GB, free: 9.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/1.691, allocations: 150.6 kB / 1.405 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.691, allocations: 71.98 kB / 1.405 GB, free: 9.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001226/1.692, allocations: 0.8434 MB / 1.406 GB, free: 8.855 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.692, allocations: 0 / 1.406 GB, free: 8.855 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002035/1.694, allocations: 0.6835 MB / 1.406 GB, free: 8.172 MB / 1.045 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007865/1.695, allocations: 364.7 kB / 1.407 GB, free: 7.852 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003374/1.698, allocations: 2.181 MB / 1.409 GB, free: 5.719 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.698, allocations: 8.188 kB / 1.409 GB, free: 5.711 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.7, allocations: 1.167 MB / 1.41 GB, free: 4.602 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00644/1.706, allocations: 1.141 MB / 1.411 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/1.715, allocations: 6.063 MB / 1.417 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/1.716, allocations: 1.657 MB / 1.418 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009322/1.717, allocations: 203.4 kB / 1.419 GB, free: 11.42 MB / 1.061 GB Notification: Performance of SimCode: time 3.466e-06/1.717, allocations: 0 / 1.419 GB, free: 11.42 MB / 1.061 GB Notification: Performance of Templates: time 0.06599/1.783, allocations: 34.5 MB / 1.452 GB, free: 9.113 MB / 1.092 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches