Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001022/0.001023, allocations: 97.64 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.009775/0.009775, allocations: 171.6 kB / 16.27 MB, free: 6.652 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.439/1.439, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 11.98 kB / 0.8159 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7725, allocations: 142.4 MB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.2707/1.043, allocations: 240.2 MB / 1.19 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02079/1.064, allocations: 14.4 MB / 1.204 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/1.067, allocations: 59.62 kB / 1.204 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/1.069, allocations: 1.104 MB / 1.205 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/1.08, allocations: 4.405 MB / 1.209 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/1.085, allocations: 1.674 MB / 1.211 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00928/1.094, allocations: 8.641 MB / 1.219 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/1.096, allocations: 1.623 MB / 1.221 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/1.1, allocations: 1.809 MB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/1.105, allocations: 2.035 MB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005966/1.106, allocations: 108 kB / 1.225 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/1.119, allocations: 5.143 MB / 1.23 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/1.12, allocations: 0.8996 MB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00228/1.123, allocations: 1.3 MB / 1.232 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/1.133, allocations: 5.359 MB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.133, allocations: 0 / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.765e-06/1.133, allocations: 0 / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.93e-05/1.133, allocations: 0 / 1.237 GB, free: 13.68 MB / 0.9981 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.006579/1.14, allocations: 2.744 MB / 1.24 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.14, allocations: 8.031 kB / 1.24 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/1.144, allocations: 0.6761 MB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/1.147, allocations: 1.565 MB / 1.242 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/1.147, allocations: 143.8 kB / 1.242 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/1.148, allocations: 192 kB / 1.242 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004103/1.152, allocations: 2.417 MB / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/1.152, allocations: 3.984 kB / 1.245 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/1.152, allocations: 80 kB / 1.245 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-05/1.152, allocations: 96.22 kB / 1.245 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004204/1.156, allocations: 2.609 MB / 1.247 GB, free: 3.004 MB / 0.9981 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.5611/1.718, allocations: 8.04 MB / 1.255 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003796/1.721, allocations: 2.346 MB / 1.257 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/1.724, allocations: 1.345 MB / 1.259 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.725, allocations: 1.569 MB / 1.26 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/1.725, allocations: 63.12 kB / 1.26 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=222): time 4.078e-06/1.725, allocations: 2.75 kB / 1.26 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226): time 0.01295/1.738, allocations: 6.864 MB / 1.267 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/1.738, allocations: 155.4 kB / 1.267 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/1.74, allocations: 1.214 MB / 1.268 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.74, allocations: 67.92 kB / 1.268 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/1.74, allocations: 0.7569 MB / 1.269 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/1.741, allocations: 0.7609 MB / 1.27 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/1.741, allocations: 168 kB / 1.27 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/1.741, allocations: 301.1 kB / 1.27 GB, free: 270.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.743, allocations: 0.8682 MB / 1.271 GB, free: 270.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.744, allocations: 1.125 MB / 1.272 GB, free: 269.4 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.07283/1.817, allocations: 11.71 MB / 1.284 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.817, allocations: 3.969 kB / 1.284 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003631/1.82, allocations: 2.397 MB / 1.286 GB, free: 263.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.821, allocations: 10.69 kB / 1.286 GB, free: 263.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.821, allocations: 3.875 kB / 1.286 GB, free: 263.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/1.821, allocations: 12.19 kB / 1.286 GB, free: 263.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.822, allocations: 437.5 kB / 1.287 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/1.822, allocations: 18.11 kB / 1.287 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.825, allocations: 185.4 kB / 1.287 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.825, allocations: 74.58 kB / 1.287 GB, free: 263.3 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: 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.0009699/1.826, allocations: 0.5673 MB / 1.287 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.826, allocations: 198 kB / 1.288 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/1.83, allocations: 2.515 MB / 1.29 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.83, allocations: 22.69 kB / 1.29 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.83, allocations: 3.031 kB / 1.29 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002457/1.832, allocations: 2.105 MB / 1.292 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007343/1.84, allocations: 5.358 MB / 1.297 GB, free: 254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.84, allocations: 4 kB / 1.297 GB, free: 254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.841, allocations: 467.5 kB / 1.298 GB, free: 253.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/1.841, allocations: 12 kB / 1.298 GB, free: 253.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.842, allocations: 63.92 kB / 1.298 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/1.842, allocations: 19.94 kB / 1.298 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/1.842, allocations: 7.938 kB / 1.298 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/1.846, allocations: 4.089 MB / 1.302 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.847, allocations: 0.4985 MB / 1.302 GB, free: 248.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/1.847, allocations: 55.88 kB / 1.302 GB, free: 248.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.849, allocations: 152.3 kB / 1.303 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.849, allocations: 153.4 kB / 1.303 GB, free: 248.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.849, allocations: 79.97 kB / 1.303 GB, free: 248.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001081/1.851, allocations: 0.8317 MB / 1.304 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.4e-07/1.851, allocations: 4 kB / 1.304 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002357/1.853, allocations: 0.6885 MB / 1.304 GB, free: 246.8 MB / 0.9981 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.0007378/1.854, allocations: 351.5 kB / 1.305 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002794/1.856, allocations: 2.188 MB / 1.307 GB, free: 244.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/1.856, allocations: 3.75 kB / 1.307 GB, free: 244.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.858, allocations: 1.17 MB / 1.308 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006675/1.864, allocations: 1.135 MB / 1.309 GB, free: 242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006476/1.871, allocations: 5.964 MB / 1.315 GB, free: 236 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009662/1.872, allocations: 1.656 MB / 1.316 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002707/1.875, allocations: 0.7509 MB / 1.317 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/1.875, allocations: 179.4 kB / 1.317 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.875, allocations: 0 / 1.317 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05393/1.929, allocations: 39.25 MB / 1.356 GB, free: 194.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches