Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001144/0.001143, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.01034/0.01034, allocations: 171.8 kB / 16.27 MB, free: 6.656 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.593/1.593, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.057/3.057, allocations: 470.6 MB / 0.7442 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005734/0.0005733, allocations: 12.97 kB / 0.9123 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3576, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.9957/1.353, allocations: 240.2 MB / 1.304 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02295/1.376, allocations: 14.4 MB / 1.318 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00462/1.381, allocations: 66.41 kB / 1.319 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003896/1.385, allocations: 1.099 MB / 1.32 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01337/1.398, allocations: 4.405 MB / 1.324 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005347/1.404, allocations: 1.683 MB / 1.326 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01057/1.414, allocations: 8.64 MB / 1.334 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/1.417, allocations: 1.619 MB / 1.336 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004342/1.421, allocations: 1.803 MB / 1.337 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/1.426, allocations: 2.03 MB / 1.339 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004716/1.427, allocations: 107 kB / 1.339 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/1.437, allocations: 5.145 MB / 1.344 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/1.439, allocations: 0.9048 MB / 1.345 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002583/1.442, allocations: 1.301 MB / 1.347 GB, free: 19.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.453, allocations: 5.354 MB / 1.352 GB, free: 18.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.453, allocations: 0 / 1.352 GB, free: 18.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/1.453, allocations: 2.969 kB / 1.352 GB, free: 18.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.636e-05/1.453, allocations: 0 / 1.352 GB, free: 18.84 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.006416/1.459, allocations: 2.75 MB / 1.355 GB, free: 17.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.459, allocations: 8.469 kB / 1.355 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/1.464, allocations: 0.6797 MB / 1.355 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/1.467, allocations: 1.561 MB / 1.357 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/1.467, allocations: 151.8 kB / 1.357 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/1.467, allocations: 203.1 kB / 1.357 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/1.471, allocations: 2.414 MB / 1.359 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/1.471, allocations: 3.188 kB / 1.359 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/1.471, allocations: 83.06 kB / 1.359 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.138e-05/1.471, allocations: 87.31 kB / 1.36 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/1.475, allocations: 2.61 MB / 1.362 GB, free: 14.91 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.01222/1.488, allocations: 8.045 MB / 1.37 GB, free: 8.617 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/1.491, allocations: 2.36 MB / 1.372 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/1.493, allocations: 1.336 MB / 1.374 GB, free: 6.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/1.495, allocations: 1.562 MB / 1.375 GB, free: 4.922 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/1.496, allocations: 66.88 kB / 1.375 GB, free: 4.859 MB / 1.014 GB Notification: Performance of pre-optimization done (n=222): time 5.13e-06/1.496, allocations: 0 / 1.375 GB, free: 4.859 MB / 1.014 GB Notification: Performance of matching and sorting (n=226): time 0.01445/1.51, allocations: 6.866 MB / 1.382 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.51, allocations: 151.7 kB / 1.382 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/1.512, allocations: 1.217 MB / 1.383 GB, free: 40 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/1.512, allocations: 67.66 kB / 1.383 GB, free: 0 / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007017/1.513, allocations: 0.7576 MB / 1.384 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008809/1.514, allocations: 0.7692 MB / 1.385 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.514, allocations: 163.8 kB / 1.385 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.514, allocations: 305.1 kB / 1.385 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/1.516, allocations: 0.8673 MB / 1.386 GB, free: 13.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/1.517, allocations: 1.123 MB / 1.387 GB, free: 13.14 MB / 1.029 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.07389/1.591, allocations: 11.71 MB / 1.399 GB, free: 5.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.591, allocations: 4 kB / 1.399 GB, free: 5.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004506/1.596, allocations: 2.39 MB / 1.401 GB, free: 3.039 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.596, allocations: 8 kB / 1.401 GB, free: 3.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.596, allocations: 4 kB / 1.401 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/1.596, allocations: 18.56 kB / 1.401 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.598, allocations: 429.9 kB / 1.401 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.27e-05/1.598, allocations: 12 kB / 1.401 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.6, allocations: 194.3 kB / 1.402 GB, free: 2.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/1.601, allocations: 75.98 kB / 1.402 GB, free: 2.344 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: 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.0013/1.602, allocations: 0.571 MB / 1.402 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/1.602, allocations: 197.7 kB / 1.402 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004697/1.607, allocations: 2.524 MB / 1.405 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/1.607, allocations: 24 kB / 1.405 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.607, allocations: 0 / 1.405 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003342/1.61, allocations: 2.099 MB / 1.407 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.621, allocations: 5.352 MB / 1.412 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.621, allocations: 8.047 kB / 1.412 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/1.623, allocations: 470.8 kB / 1.413 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.303e-05/1.623, allocations: 12 kB / 1.413 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/1.623, allocations: 59.98 kB / 1.413 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.516e-05/1.623, allocations: 22.47 kB / 1.413 GB, free: 6.988 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.623, allocations: 14.52 kB / 1.413 GB, free: 6.977 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00641/1.63, allocations: 4.09 MB / 1.417 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/1.631, allocations: 0.4946 MB / 1.417 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/1.632, allocations: 47.98 kB / 1.417 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.633, allocations: 153 kB / 1.417 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/1.634, allocations: 150.7 kB / 1.418 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/1.634, allocations: 83.97 kB / 1.418 GB, free: 1.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001364/1.635, allocations: 0.8356 MB / 1.418 GB, free: 1.031 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.635, allocations: 2.531 kB / 1.418 GB, free: 1.031 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002276/1.638, allocations: 0.6797 MB / 1.419 GB, free: 360 kB / 1.045 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.0008498/1.638, allocations: 360.2 kB / 1.419 GB, free: 36 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003715/1.642, allocations: 2.185 MB / 1.422 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/1.642, allocations: 2.531 kB / 1.422 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/1.644, allocations: 1.171 MB / 1.423 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007383/1.651, allocations: 1.138 MB / 1.424 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009209/1.661, allocations: 5.963 MB / 1.43 GB, free: 5.598 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/1.662, allocations: 1.663 MB / 1.431 GB, free: 3.895 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003045/1.665, allocations: 0.7547 MB / 1.432 GB, free: 3.137 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/1.666, allocations: 175.4 kB / 1.432 GB, free: 2.965 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/1.666, allocations: 0 / 1.432 GB, free: 2.965 MB / 1.061 GB Notification: Performance of Templates: time 0.07511/1.741, allocations: 39.25 MB / 1.471 GB, free: 12.28 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches