Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002461/0.002461, allocations: 166 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.886/2.886, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.702e-05/3.913e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.056/1.056, allocations: 262.2 MB / 1.238 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02829/1.084, allocations: 15.92 MB / 1.253 GB, free: 21.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006569/1.091, allocations: 106.9 kB / 1.253 GB, free: 21.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0068/1.098, allocations: 1.822 MB / 1.255 GB, free: 20.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02155/1.119, allocations: 6.882 MB / 1.262 GB, free: 17.44 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009892/1.129, allocations: 3.064 MB / 1.265 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.013/1.142, allocations: 7.97 MB / 1.272 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004813/1.147, allocations: 1.956 MB / 1.274 GB, free: 11.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/1.157, allocations: 4.094 MB / 1.278 GB, free: 9.613 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006334/1.164, allocations: 2.514 MB / 1.281 GB, free: 8.812 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001271/1.165, allocations: 324.5 kB / 1.281 GB, free: 8.812 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01741/1.182, allocations: 5.136 MB / 1.286 GB, free: 6.938 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003631/1.186, allocations: 1.428 MB / 1.288 GB, free: 6.258 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006074/1.192, allocations: 1.361 MB / 1.289 GB, free: 5.715 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02143/1.214, allocations: 6.979 MB / 1.296 GB, free: 3.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.214, allocations: 0 / 1.296 GB, free: 3.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.585e-06/1.214, allocations: 0 / 1.296 GB, free: 3.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002961/1.214, allocations: 0 / 1.296 GB, free: 3.41 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01745/1.231, allocations: 4.089 MB / 1.3 GB, free: 1.199 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.231, allocations: 8.656 kB / 1.3 GB, free: 1.199 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00762/1.239, allocations: 0.9413 MB / 1.301 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/1.244, allocations: 1.807 MB / 1.302 GB, free: 15.68 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/1.245, allocations: 196.5 kB / 1.303 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/1.246, allocations: 259.6 kB / 1.303 GB, free: 15.51 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009988/1.256, allocations: 3.825 MB / 1.307 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/1.256, allocations: 10.73 kB / 1.307 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006907/1.257, allocations: 109.3 kB / 1.307 GB, free: 12.89 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/1.257, allocations: 156 kB / 1.307 GB, free: 12.86 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008606/1.266, allocations: 3.6 MB / 1.31 GB, free: 11.1 MB / 1.092 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.02171/1.287, allocations: 7.973 MB / 1.318 GB, free: 5.75 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0062/1.293, allocations: 2.923 MB / 1.321 GB, free: 4.191 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0038/1.297, allocations: 1.701 MB / 1.323 GB, free: 3.34 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.298, allocations: 222 kB / 1.323 GB, free: 3.266 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.797e-05/1.298, allocations: 71.62 kB / 1.323 GB, free: 3.195 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 6.001e-06/1.299, allocations: 2.969 kB / 1.323 GB, free: 3.195 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.008777/1.307, allocations: 3.882 MB / 1.327 GB, free: 1.176 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/1.307, allocations: 77.59 kB / 1.327 GB, free: 1.086 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/1.31, allocations: 1.308 MB / 1.328 GB, free: 15.77 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003259/1.31, allocations: 77.7 kB / 1.328 GB, free: 15.69 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.311, allocations: 1.047 MB / 1.329 GB, free: 14.63 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.313, allocations: 0.9797 MB / 1.33 GB, free: 13.64 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/1.314, allocations: 445.4 kB / 1.331 GB, free: 13.2 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.314, allocations: 305.1 kB / 1.331 GB, free: 12.9 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/1.317, allocations: 1.146 MB / 1.332 GB, free: 11.75 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/1.319, allocations: 1.422 MB / 1.333 GB, free: 10.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005281/1.325, allocations: 2.722 MB / 1.336 GB, free: 7.473 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/1.325, allocations: 4 kB / 1.336 GB, free: 7.469 MB / 1.107 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006667/1.331, allocations: 3.105 MB / 1.339 GB, free: 4.324 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.331, allocations: 8 kB / 1.339 GB, free: 4.316 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.331, allocations: 7.938 kB / 1.339 GB, free: 4.309 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.303e-05/1.331, allocations: 19.94 kB / 1.339 GB, free: 4.289 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/1.334, allocations: 0.5402 MB / 1.34 GB, free: 3.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.639e-05/1.334, allocations: 16.62 kB / 1.34 GB, free: 3.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/1.337, allocations: 194.5 kB / 1.34 GB, free: 3.543 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/1.337, allocations: 96.08 kB / 1.34 GB, free: 3.449 MB / 1.107 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 (332): * Single equations (assignments): 332 * 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.001682/1.339, allocations: 0.6494 MB / 1.34 GB, free: 2.789 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009135/1.34, allocations: 234.5 kB / 1.341 GB, free: 2.559 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006277/1.346, allocations: 3.104 MB / 1.344 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/1.346, allocations: 28 kB / 1.344 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.346, allocations: 0 / 1.344 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004474/1.35, allocations: 2.657 MB / 1.346 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.362, allocations: 5.436 MB / 1.352 GB, free: 7.113 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.362, allocations: 0 / 1.352 GB, free: 7.113 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/1.365, allocations: 0.5423 MB / 1.352 GB, free: 6.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-05/1.365, allocations: 8 kB / 1.352 GB, free: 6.562 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/1.365, allocations: 59.98 kB / 1.352 GB, free: 6.504 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/1.365, allocations: 9.938 kB / 1.352 GB, free: 6.496 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.365, allocations: 0 / 1.352 GB, free: 6.496 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008038/1.373, allocations: 4.59 MB / 1.357 GB, free: 1.824 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.375, allocations: 0.529 MB / 1.357 GB, free: 1.293 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/1.375, allocations: 52 kB / 1.357 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.377, allocations: 62.02 kB / 1.357 GB, free: 1.184 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/1.378, allocations: 173.8 kB / 1.358 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.378, allocations: 83.97 kB / 1.358 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001728/1.38, allocations: 0.8735 MB / 1.358 GB, free: 60 kB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.38, allocations: 3.938 kB / 1.358 GB, free: 56 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.003376/1.383, allocations: 1.014 MB / 1.359 GB, free: 15.04 MB / 1.139 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.0008715/1.384, allocations: 400.1 kB / 1.36 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005312/1.389, allocations: 2.677 MB / 1.362 GB, free: 11.93 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.389, allocations: 0 / 1.362 GB, free: 11.93 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/1.392, allocations: 1.402 MB / 1.364 GB, free: 10.53 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007437/1.399, allocations: 1.279 MB / 1.365 GB, free: 9.289 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.41, allocations: 5.706 MB / 1.371 GB, free: 3.531 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.412, allocations: 1.333 MB / 1.372 GB, free: 2.164 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003433/1.416, allocations: 0.8548 MB / 1.373 GB, free: 1.305 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009893/1.417, allocations: 204.5 kB / 1.373 GB, free: 1.102 MB / 1.139 GB Notification: Performance of SimCode: time 1.152e-06/1.417, allocations: 0 / 1.373 GB, free: 1.102 MB / 1.139 GB Notification: Performance of Templates: time 0.08576/1.502, allocations: 49.1 MB / 1.421 GB, free: 1.035 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.913132403045893]