Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.002875/0.002875, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 66.88 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9628/1.288, allocations: 295.1 MB / 1.239 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02659/1.314, allocations: 17.02 MB / 1.256 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005149/1.319, allocations: 82.88 kB / 1.256 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00613/1.326, allocations: 1.887 MB / 1.258 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01866/1.344, allocations: 6.435 MB / 1.264 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008714/1.353, allocations: 2.948 MB / 1.267 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0114/1.365, allocations: 7.703 MB / 1.275 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/1.369, allocations: 2.586 MB / 1.277 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006741/1.376, allocations: 2.78 MB / 1.28 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006353/1.382, allocations: 2.701 MB / 1.282 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001705/1.384, allocations: 332 kB / 1.283 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01749/1.401, allocations: 6.169 MB / 1.289 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0038/1.405, allocations: 1.332 MB / 1.29 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006565/1.412, allocations: 1.883 MB / 1.292 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01965/1.431, allocations: 6.892 MB / 1.299 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/1.432, allocations: 0 / 1.299 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.616e-06/1.432, allocations: 0 / 1.299 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001918/1.432, allocations: 3.938 kB / 1.299 GB, free: 12.64 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01501/1.447, allocations: 4.12 MB / 1.303 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/1.447, allocations: 16.03 kB / 1.303 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006961/1.454, allocations: 0.9171 MB / 1.304 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/1.459, allocations: 1.916 MB / 1.305 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/1.459, allocations: 197.1 kB / 1.306 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006948/1.46, allocations: 263.9 kB / 1.306 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006307/1.466, allocations: 3.329 MB / 1.309 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.026e-05/1.466, allocations: 7.906 kB / 1.309 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/1.467, allocations: 111.9 kB / 1.309 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/1.467, allocations: 137 kB / 1.309 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006035/1.473, allocations: 3.494 MB / 1.313 GB, free: 13.9 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.01838/1.491, allocations: 12.15 MB / 1.325 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/1.496, allocations: 3.509 MB / 1.328 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/1.499, allocations: 1.818 MB / 1.33 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/1.5, allocations: 1.493 MB / 1.331 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.5, allocations: 60.75 kB / 1.331 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=278): time 5.36e-06/1.5, allocations: 4 kB / 1.331 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=278): time 0.006706/1.507, allocations: 3.881 MB / 1.335 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/1.507, allocations: 81.53 kB / 1.335 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.509, allocations: 1.383 MB / 1.337 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003655/1.51, allocations: 77.64 kB / 1.337 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/1.51, allocations: 0.9843 MB / 1.338 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001398/1.512, allocations: 0.9431 MB / 1.339 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000746/1.513, allocations: 408.9 kB / 1.339 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.513, allocations: 305.1 kB / 1.339 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/1.514, allocations: 1.098 MB / 1.34 GB, free: 300 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/1.516, allocations: 1.359 MB / 1.342 GB, free: 14.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/1.52, allocations: 2.65 MB / 1.344 GB, free: 12.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.52, allocations: 0 / 1.344 GB, free: 12.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005026/1.525, allocations: 2.974 MB / 1.347 GB, free: 9.105 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/1.525, allocations: 8 kB / 1.347 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.525, allocations: 4 kB / 1.347 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/1.525, allocations: 16 kB / 1.347 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/1.528, allocations: 0.5116 MB / 1.348 GB, free: 8.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-05/1.528, allocations: 23.92 kB / 1.348 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/1.53, allocations: 185.9 kB / 1.348 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/1.53, allocations: 80 kB / 1.348 GB, free: 8.281 MB / 1.014 GB 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 (311): * Single equations (assignments): 311 * 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.001304/1.531, allocations: 0.6436 MB / 1.349 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005773/1.532, allocations: 233.3 kB / 1.349 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004912/1.537, allocations: 3.112 MB / 1.352 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.537, allocations: 31.94 kB / 1.352 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.537, allocations: 3.938 kB / 1.352 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003744/1.541, allocations: 2.649 MB / 1.354 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.551, allocations: 6.209 MB / 1.36 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.551, allocations: 3.984 kB / 1.36 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.554, allocations: 0.5462 MB / 1.361 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.39e-05/1.554, allocations: 8 kB / 1.361 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/1.554, allocations: 59.98 kB / 1.361 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/1.554, allocations: 16 kB / 1.361 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.554, allocations: 0 / 1.361 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/1.561, allocations: 4.573 MB / 1.366 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.563, allocations: 0.6149 MB / 1.366 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/1.563, allocations: 48 kB / 1.366 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.565, allocations: 66.61 kB / 1.366 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/1.565, allocations: 162 kB / 1.366 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.565, allocations: 79.97 kB / 1.367 GB, free: 4.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001294/1.567, allocations: 0.9462 MB / 1.367 GB, free: 3.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.492e-06/1.567, allocations: 0 / 1.367 GB, free: 3.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002479/1.569, allocations: 0.9861 MB / 1.368 GB, free: 2.957 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.0007353/1.57, allocations: 370.6 kB / 1.369 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004326/1.574, allocations: 2.778 MB / 1.371 GB, free: 15.78 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.574, allocations: 0 / 1.371 GB, free: 15.78 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.576, allocations: 1.511 MB / 1.373 GB, free: 14.26 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/1.582, allocations: 1.352 MB / 1.374 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.594, allocations: 5.999 MB / 1.38 GB, free: 6.891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.595, allocations: 1.895 MB / 1.382 GB, free: 4.957 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003334/1.599, allocations: 0.8475 MB / 1.383 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007807/1.599, allocations: 207.4 kB / 1.383 GB, free: 3.902 MB / 1.045 GB Notification: Performance of SimCode: time 1.192e-06/1.6, allocations: 0 / 1.383 GB, free: 3.902 MB / 1.045 GB Notification: Performance of Templates: time 0.07919/1.679, allocations: 49.66 MB / 1.431 GB, free: 2.875 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches