Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001233/0.001233, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001957/0.001957, allocations: 168.7 kB / 15.95 MB, free: 204 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.659/1.659, allocations: 223.3 MB / 240 MB, free: 5.387 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.592/2.592, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003457, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.9542, allocations: 142.4 MB / 0.9544 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 0.2731/1.227, allocations: 224.1 MB / 1.173 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02365/1.251, allocations: 13.52 MB / 1.186 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004465/1.256, allocations: 63.56 kB / 1.187 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/1.26, allocations: 0.8348 MB / 1.187 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/1.273, allocations: 3.398 MB / 1.191 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005791/1.279, allocations: 1.35 MB / 1.192 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.29, allocations: 7.267 MB / 1.199 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/1.293, allocations: 1.496 MB / 1.201 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005269/1.298, allocations: 1.837 MB / 1.202 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/1.303, allocations: 1.95 MB / 1.204 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005956/1.304, allocations: 108 kB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009567/1.313, allocations: 2.393 MB / 1.207 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002375/1.316, allocations: 0.8998 MB / 1.208 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/1.318, allocations: 0.5161 MB / 1.208 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008263/1.326, allocations: 3.527 MB / 1.211 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.326, allocations: 0 / 1.211 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/1.326, allocations: 0 / 1.211 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001262/1.326, allocations: 0 / 1.211 GB, free: 7.574 MB / 0.9669 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.007632/1.334, allocations: 2.759 MB / 1.214 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.334, allocations: 8.031 kB / 1.214 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/1.339, allocations: 0.68 MB / 1.215 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/1.342, allocations: 1.52 MB / 1.216 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/1.342, allocations: 147.8 kB / 1.216 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003959/1.343, allocations: 195.9 kB / 1.217 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/1.347, allocations: 2.388 MB / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/1.347, allocations: 4 kB / 1.219 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/1.347, allocations: 76 kB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/1.348, allocations: 92.28 kB / 1.219 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004268/1.352, allocations: 2.597 MB / 1.222 GB, free: 12.97 MB / 0.9825 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.01463/1.367, allocations: 7.881 MB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/1.37, allocations: 2.31 MB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/1.372, allocations: 1.337 MB / 1.233 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/1.374, allocations: 1.56 MB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.483e-05/1.374, allocations: 56.44 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=222): time 4.208e-06/1.374, allocations: 4 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226): time 0.01234/1.387, allocations: 6.458 MB / 1.241 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/1.387, allocations: 107 kB / 1.241 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/1.388, allocations: 1.202 MB / 1.242 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.389, allocations: 65.7 kB / 1.242 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/1.389, allocations: 0.7568 MB / 1.243 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007595/1.39, allocations: 0.7621 MB / 1.244 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.39, allocations: 40 kB / 1.244 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.39, allocations: 381.9 kB / 1.244 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.392, allocations: 0.8589 MB / 1.245 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/1.393, allocations: 1.107 MB / 1.246 GB, free: 2.957 MB / 0.9981 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.7317/2.125, allocations: 9.674 MB / 1.255 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/2.125, allocations: 1.688 kB / 1.255 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004941/2.13, allocations: 2.387 MB / 1.258 GB, free: 280 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/2.13, allocations: 6.438 kB / 1.258 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/2.13, allocations: 4.812 kB / 1.258 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.935e-05/2.13, allocations: 13.83 kB / 1.258 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/2.132, allocations: 421.5 kB / 1.258 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/2.132, allocations: 24.06 kB / 1.258 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/2.134, allocations: 182.7 kB / 1.258 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/2.134, allocations: 73.61 kB / 1.258 GB, free: 279.9 MB / 0.9981 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.001044/2.135, allocations: 0.5572 MB / 1.259 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/2.135, allocations: 194.9 kB / 1.259 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/2.14, allocations: 2.531 MB / 1.262 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/2.14, allocations: 22 kB / 1.262 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/2.14, allocations: 2.891 kB / 1.262 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002865/2.142, allocations: 2.096 MB / 1.264 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00837/2.151, allocations: 5.316 MB / 1.269 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/2.151, allocations: 6.125 kB / 1.269 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/2.153, allocations: 459.8 kB / 1.269 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.739e-05/2.153, allocations: 15.53 kB / 1.269 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/2.153, allocations: 59.11 kB / 1.269 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.047e-05/2.153, allocations: 17.44 kB / 1.269 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/2.153, allocations: 11.38 kB / 1.269 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005422/2.159, allocations: 3.916 MB / 1.273 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/2.16, allocations: 0.4966 MB / 1.274 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/2.16, allocations: 51.83 kB / 1.274 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/2.162, allocations: 146.5 kB / 1.274 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/2.162, allocations: 155.4 kB / 1.274 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/2.162, allocations: 79.34 kB / 1.274 GB, free: 271.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001178/2.163, allocations: 0.8274 MB / 1.275 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.163, allocations: 0 / 1.275 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002513/2.166, allocations: 0.6867 MB / 1.276 GB, free: 270.8 MB / 0.9981 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.0009084/2.167, allocations: 349.7 kB / 1.276 GB, free: 270.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003008/2.17, allocations: 2.177 MB / 1.278 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.17, allocations: 3.938 kB / 1.278 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/2.171, allocations: 1.164 MB / 1.279 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/2.176, allocations: 1.139 MB / 1.28 GB, free: 268.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008049/2.184, allocations: 5.805 MB / 1.286 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/2.186, allocations: 1.647 MB / 1.288 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003092/2.189, allocations: 0.7548 MB / 1.288 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/2.189, allocations: 183.2 kB / 1.289 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.803e-06/2.189, allocations: 0 / 1.289 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05342/2.243, allocations: 38.06 MB / 1.326 GB, free: 224.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches