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.009548/0.009548, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001795/0.001796, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.551/1.551, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.909/2.909, allocations: 461.9 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.42 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3993, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 1.128/1.528, allocations: 243.5 MB / 1.291 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02739/1.555, allocations: 14.55 MB / 1.305 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006806/1.562, allocations: 65.88 kB / 1.305 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005811/1.568, allocations: 1.102 MB / 1.306 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02122/1.589, allocations: 4.404 MB / 1.31 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009702/1.599, allocations: 1.676 MB / 1.312 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01762/1.617, allocations: 8.649 MB / 1.32 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004731/1.621, allocations: 1.672 MB / 1.322 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006577/1.628, allocations: 1.859 MB / 1.324 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006898/1.635, allocations: 2.095 MB / 1.326 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001291/1.636, allocations: 131 kB / 1.326 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/1.651, allocations: 5.167 MB / 1.331 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002653/1.653, allocations: 0.9411 MB / 1.332 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005407/1.659, allocations: 1.313 MB / 1.333 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009869/1.669, allocations: 3.898 MB / 1.337 GB, free: 15.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.669, allocations: 4 kB / 1.337 GB, free: 15.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/1.669, allocations: 2.531 kB / 1.337 GB, free: 15.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002012/1.669, allocations: 0 / 1.337 GB, free: 15.94 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.0134/1.682, allocations: 3.19 MB / 1.34 GB, free: 14.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.682, allocations: 12.44 kB / 1.34 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/1.688, allocations: 0.6751 MB / 1.341 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004888/1.693, allocations: 1.564 MB / 1.342 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/1.693, allocations: 145.9 kB / 1.342 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009306/1.694, allocations: 196.1 kB / 1.343 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007332/1.701, allocations: 2.409 MB / 1.345 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/1.701, allocations: 7.219 kB / 1.345 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004802/1.702, allocations: 75.62 kB / 1.345 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/1.702, allocations: 91.66 kB / 1.345 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005679/1.708, allocations: 2.61 MB / 1.348 GB, free: 13.79 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.01579/1.724, allocations: 7.867 MB / 1.355 GB, free: 9.723 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/1.728, allocations: 2.354 MB / 1.358 GB, free: 9.352 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/1.73, allocations: 1.327 MB / 1.359 GB, free: 9.156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/1.731, allocations: 1.557 MB / 1.36 GB, free: 7.414 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/1.731, allocations: 56.25 kB / 1.36 GB, free: 7.371 MB / 1.014 GB Notification: Performance of pre-optimization done (n=222): time 4.528e-06/1.731, allocations: 6.594 kB / 1.36 GB, free: 7.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=226): time 0.01454/1.746, allocations: 6.469 MB / 1.367 GB, free: 4.184 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/1.746, allocations: 104.6 kB / 1.367 GB, free: 4.086 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/1.749, allocations: 1.22 MB / 1.368 GB, free: 3.422 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/1.749, allocations: 74.95 kB / 1.368 GB, free: 3.355 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/1.75, allocations: 0.7534 MB / 1.369 GB, free: 2.691 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009184/1.751, allocations: 0.7633 MB / 1.37 GB, free: 2.027 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006679/1.751, allocations: 350.7 kB / 1.37 GB, free: 1.836 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.752, allocations: 301.1 kB / 1.37 GB, free: 1.539 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.753, allocations: 0.8619 MB / 1.371 GB, free: 1.109 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/1.755, allocations: 1.115 MB / 1.372 GB, free: 448 kB / 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.07014/1.825, allocations: 11.69 MB / 1.384 GB, free: 9.105 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/1.825, allocations: 4 kB / 1.384 GB, free: 9.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006109/1.831, allocations: 2.391 MB / 1.386 GB, free: 6.727 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.831, allocations: 8 kB / 1.386 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/1.831, allocations: 4 kB / 1.386 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.677e-05/1.831, allocations: 12 kB / 1.386 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/1.833, allocations: 426.6 kB / 1.386 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.214e-05/1.833, allocations: 19.94 kB / 1.386 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.836, allocations: 187.5 kB / 1.387 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/1.837, allocations: 71.98 kB / 1.387 GB, free: 6.039 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 system: 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.001735/1.838, allocations: 0.5626 MB / 1.387 GB, free: 5.492 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008807/1.839, allocations: 197.7 kB / 1.387 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/1.845, allocations: 2.528 MB / 1.39 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/1.845, allocations: 24 kB / 1.39 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/1.845, allocations: 3.938 kB / 1.39 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003483/1.848, allocations: 2.1 MB / 1.392 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/1.859, allocations: 5.324 MB / 1.397 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.859, allocations: 8 kB / 1.397 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.861, allocations: 463.5 kB / 1.398 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.424e-05/1.861, allocations: 12 kB / 1.398 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/1.862, allocations: 63.98 kB / 1.398 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/1.862, allocations: 18.44 kB / 1.398 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.862, allocations: 6.625 kB / 1.398 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006424/1.868, allocations: 3.937 MB / 1.402 GB, free: 6.703 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.87, allocations: 0.4907 MB / 1.402 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006117/1.87, allocations: 51.98 kB / 1.402 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/1.873, allocations: 147.7 kB / 1.402 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/1.873, allocations: 150.7 kB / 1.402 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.873, allocations: 83.95 kB / 1.402 GB, free: 5.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001698/1.875, allocations: 0.8395 MB / 1.403 GB, free: 4.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.875, allocations: 0 / 1.403 GB, free: 4.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002999/1.878, allocations: 0.6797 MB / 1.404 GB, free: 4.25 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.001084/1.879, allocations: 354.7 kB / 1.404 GB, free: 3.938 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003962/1.883, allocations: 2.177 MB / 1.406 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.883, allocations: 4 kB / 1.406 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.885, allocations: 1.171 MB / 1.408 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006586/1.891, allocations: 1.141 MB / 1.409 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.902, allocations: 5.864 MB / 1.414 GB, free: 9.609 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/1.904, allocations: 1.647 MB / 1.416 GB, free: 7.926 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.905, allocations: 199.4 kB / 1.416 GB, free: 7.73 MB / 1.061 GB Notification: Performance of SimCode: time 1.113e-06/1.905, allocations: 4 kB / 1.416 GB, free: 7.727 MB / 1.061 GB Notification: Performance of Templates: time 0.06619/1.972, allocations: 34.81 MB / 1.45 GB, free: 5.129 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