Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009365/0.009365, allocations: 101 kB / 15.73 MB, free: 6.047 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.002089/0.00209, allocations: 188 kB / 16.67 MB, free: 5.977 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 64.14 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4152, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 1.234/1.65, allocations: 245.7 MB / 1.448 GB, free: 1.035 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02361/1.673, allocations: 14.38 MB / 1.462 GB, free: 2.621 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/1.678, allocations: 75.62 kB / 1.462 GB, free: 2.547 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004297/1.683, allocations: 1.305 MB / 1.463 GB, free: 1.234 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01679/1.7, allocations: 4.831 MB / 1.468 GB, free: 12.38 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006069/1.706, allocations: 1.894 MB / 1.47 GB, free: 10.5 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01027/1.716, allocations: 6.235 MB / 1.476 GB, free: 4.246 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003538/1.719, allocations: 1.976 MB / 1.478 GB, free: 2.246 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005693/1.725, allocations: 2.231 MB / 1.48 GB, free: 8 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004433/1.73, allocations: 2.039 MB / 1.482 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003982/1.73, allocations: 248 kB / 1.482 GB, free: 13.73 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.741, allocations: 4.529 MB / 1.486 GB, free: 9.195 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001264/1.742, allocations: 1.044 MB / 1.487 GB, free: 8.148 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/1.744, allocations: 1.451 MB / 1.489 GB, free: 6.691 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.756, allocations: 5.275 MB / 1.494 GB, free: 1.402 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.756, allocations: 4 kB / 1.494 GB, free: 1.398 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.104e-06/1.756, allocations: 0 / 1.494 GB, free: 1.398 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.213e-05/1.756, allocations: 0 / 1.494 GB, free: 1.398 MB / 1.17 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.006706/1.762, allocations: 3.188 MB / 1.497 GB, free: 14.15 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.762, allocations: 12.62 kB / 1.497 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/1.767, allocations: 0.6761 MB / 1.498 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/1.77, allocations: 1.639 MB / 1.499 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.77, allocations: 156.6 kB / 1.5 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/1.77, allocations: 195.9 kB / 1.5 GB, free: 11.42 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004279/1.775, allocations: 2.421 MB / 1.502 GB, free: 8.973 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/1.775, allocations: 0 / 1.502 GB, free: 8.973 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/1.775, allocations: 76 kB / 1.502 GB, free: 8.898 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/1.775, allocations: 92.22 kB / 1.502 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/1.779, allocations: 2.613 MB / 1.505 GB, free: 6.184 MB / 1.186 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.01042/1.79, allocations: 8.041 MB / 1.513 GB, free: 13.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/1.793, allocations: 2.356 MB / 1.515 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/1.795, allocations: 1.331 MB / 1.516 GB, free: 9.902 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.796, allocations: 1.56 MB / 1.518 GB, free: 8.008 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/1.796, allocations: 60.38 kB / 1.518 GB, free: 7.941 MB / 1.201 GB Notification: Performance of pre-optimization done (n=222): time 5.36e-06/1.796, allocations: 11.92 kB / 1.518 GB, free: 7.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=226): time 0.0117/1.808, allocations: 6.867 MB / 1.525 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.808, allocations: 150.5 kB / 1.525 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.809, allocations: 1.209 MB / 1.526 GB, free: 15.53 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/1.809, allocations: 65.7 kB / 1.526 GB, free: 15.46 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/1.81, allocations: 0.7724 MB / 1.527 GB, free: 14.68 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007036/1.811, allocations: 0.7621 MB / 1.527 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/1.811, allocations: 343.5 kB / 1.528 GB, free: 13.56 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.811, allocations: 305.1 kB / 1.528 GB, free: 13.26 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.813, allocations: 0.8628 MB / 1.529 GB, free: 12.4 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/1.814, allocations: 1.121 MB / 1.53 GB, free: 11.21 MB / 1.217 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.06385/1.878, allocations: 11.72 MB / 1.541 GB, free: 15.38 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.878, allocations: 0 / 1.541 GB, free: 15.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004825/1.883, allocations: 2.404 MB / 1.544 GB, free: 12.97 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/1.883, allocations: 8 kB / 1.544 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.883, allocations: 4 kB / 1.544 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-05/1.883, allocations: 16 kB / 1.544 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/1.885, allocations: 427.4 kB / 1.544 GB, free: 12.52 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.312e-05/1.885, allocations: 12 kB / 1.544 GB, free: 12.51 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.887, allocations: 68.02 kB / 1.544 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/1.887, allocations: 71.98 kB / 1.544 GB, free: 12.38 MB / 1.232 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: 21 * 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.001354/1.889, allocations: 0.5651 MB / 1.545 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006831/1.889, allocations: 201.6 kB / 1.545 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/1.894, allocations: 2.526 MB / 1.548 GB, free: 9.059 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.894, allocations: 20 kB / 1.548 GB, free: 9.039 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/1.894, allocations: 4 kB / 1.548 GB, free: 9.035 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003431/1.898, allocations: 2.093 MB / 1.55 GB, free: 6.922 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/1.909, allocations: 5.361 MB / 1.555 GB, free: 1.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.909, allocations: 4.75 kB / 1.555 GB, free: 1.426 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/1.911, allocations: 467.4 kB / 1.555 GB, free: 0.9688 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.203e-05/1.911, allocations: 12 kB / 1.555 GB, free: 0.957 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/1.911, allocations: 59.98 kB / 1.555 GB, free: 0.8984 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.967e-05/1.911, allocations: 19.94 kB / 1.555 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/1.911, allocations: 15.92 kB / 1.555 GB, free: 0.8633 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/1.918, allocations: 4.081 MB / 1.559 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.919, allocations: 0.5023 MB / 1.56 GB, free: 12.15 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006186/1.92, allocations: 51.98 kB / 1.56 GB, free: 12.1 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/1.922, allocations: 60.59 kB / 1.56 GB, free: 12.04 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.922, allocations: 153.5 kB / 1.56 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/1.923, allocations: 83.97 kB / 1.56 GB, free: 11.81 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001649/1.924, allocations: 0.8356 MB / 1.561 GB, free: 10.98 MB / 1.248 GB Notification: Performance of sort global known variables: time 5.51e-07/1.924, allocations: 0 / 1.561 GB, free: 10.98 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002859/1.927, allocations: 0.6797 MB / 1.562 GB, free: 10.3 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,dooDis.mExcBA,dooDis.mExcAB) * 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.001053/1.928, allocations: 362 kB / 1.562 GB, free: 9.953 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003943/1.932, allocations: 2.214 MB / 1.564 GB, free: 7.738 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.932, allocations: 3.938 kB / 1.564 GB, free: 7.734 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.934, allocations: 1.169 MB / 1.565 GB, free: 6.57 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/1.94, allocations: 1.169 MB / 1.567 GB, free: 5.422 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008304/1.948, allocations: 4.816 MB / 1.571 GB, free: 0.4961 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/1.95, allocations: 1.659 MB / 1.573 GB, free: 14.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00314/1.954, allocations: 0.7548 MB / 1.574 GB, free: 14.04 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/1.954, allocations: 179.4 kB / 1.574 GB, free: 13.86 MB / 1.264 GB Notification: Performance of SimCode: time 1.974e-06/1.955, allocations: 4 kB / 1.574 GB, free: 13.86 MB / 1.264 GB Notification: Performance of Templates: time 0.06839/2.023, allocations: 41.77 MB / 1.615 GB, free: 4.551 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches