Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001833, allocations: 114.8 kB / 17.08 MB, free: 5.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.307/3.307, allocations: 489.3 MB / 0.7687 GB, free: 3.719 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 71.97 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4028/1.588, allocations: 314.3 MB / 1.569 GB, free: 13.35 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.03349/1.621, allocations: 18.47 MB / 1.588 GB, free: 10.84 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006021/1.627, allocations: 87.56 kB / 1.588 GB, free: 10.75 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.007703/1.635, allocations: 2.144 MB / 1.59 GB, free: 8.594 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02411/1.659, allocations: 7.304 MB / 1.597 GB, free: 1.262 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01117/1.67, allocations: 3.232 MB / 1.6 GB, free: 14.03 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01635/1.687, allocations: 9.096 MB / 1.609 GB, free: 4.902 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005982/1.693, allocations: 3.115 MB / 1.612 GB, free: 1.723 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00993/1.703, allocations: 3.61 MB / 1.615 GB, free: 14.1 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008425/1.711, allocations: 3.197 MB / 1.619 GB, free: 10.91 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.002124/1.713, allocations: 404 kB / 1.619 GB, free: 10.51 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/1.732, allocations: 6.983 MB / 1.626 GB, free: 3.5 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003545/1.736, allocations: 1.644 MB / 1.627 GB, free: 1.852 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.006749/1.742, allocations: 2.295 MB / 1.63 GB, free: 15.54 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.02351/1.766, allocations: 8.193 MB / 1.638 GB, free: 7.328 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.766, allocations: 0 / 1.638 GB, free: 7.328 MB / 1.326 GB Notification: Performance of FrontEnd: time 2.395e-06/1.766, allocations: 0 / 1.638 GB, free: 7.328 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.000259/1.766, allocations: 0 / 1.638 GB, free: 7.328 MB / 1.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01637/1.783, allocations: 5.04 MB / 1.643 GB, free: 2.211 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.783, allocations: 8.031 kB / 1.643 GB, free: 2.203 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006675/1.789, allocations: 1.032 MB / 1.644 GB, free: 1.168 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004839/1.794, allocations: 2.197 MB / 1.646 GB, free: 14.91 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/1.795, allocations: 246.4 kB / 1.646 GB, free: 14.68 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005847/1.795, allocations: 327.9 kB / 1.646 GB, free: 14.36 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008108/1.803, allocations: 4.395 MB / 1.651 GB, free: 9.879 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.452e-05/1.803, allocations: 7.953 kB / 1.651 GB, free: 9.871 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/1.804, allocations: 140 kB / 1.651 GB, free: 9.734 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/1.804, allocations: 214.6 kB / 1.651 GB, free: 9.523 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009387/1.813, allocations: 5.058 MB / 1.656 GB, free: 4.457 MB / 1.342 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.02589/1.839, allocations: 15.06 MB / 1.671 GB, free: 4.352 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007291/1.847, allocations: 4.555 MB / 1.675 GB, free: 15.8 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00418/1.851, allocations: 2.459 MB / 1.677 GB, free: 13.34 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/1.853, allocations: 1.612 MB / 1.679 GB, free: 11.39 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/1.853, allocations: 77.58 kB / 1.679 GB, free: 11.31 MB / 1.373 GB Notification: Performance of pre-optimization done (n=392): time 5.5e-06/1.853, allocations: 0 / 1.679 GB, free: 11.31 MB / 1.373 GB Notification: Performance of matching and sorting (n=392): time 0.01112/1.864, allocations: 5.548 MB / 1.684 GB, free: 5.738 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.864, allocations: 94.48 kB / 1.685 GB, free: 5.633 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/1.868, allocations: 1.716 MB / 1.686 GB, free: 3.875 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.0005364/1.868, allocations: 89.7 kB / 1.686 GB, free: 3.781 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/1.87, allocations: 1.245 MB / 1.688 GB, free: 2.523 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.002097/1.872, allocations: 1.398 MB / 1.689 GB, free: 1.113 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/1.873, allocations: 0.6143 MB / 1.689 GB, free: 0.4922 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.873, allocations: 305.1 kB / 1.69 GB, free: 196 kB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/1.877, allocations: 1.663 MB / 1.691 GB, free: 14.52 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/1.88, allocations: 2.039 MB / 1.693 GB, free: 12.42 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006638/1.887, allocations: 3.92 MB / 1.697 GB, free: 8.422 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.887, allocations: 0 / 1.697 GB, free: 8.422 MB / 1.389 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008239/1.895, allocations: 4.452 MB / 1.702 GB, free: 3.953 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/1.895, allocations: 11.94 kB / 1.702 GB, free: 3.941 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.895, allocations: 4.656 kB / 1.702 GB, free: 3.938 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.581e-05/1.895, allocations: 27.98 kB / 1.702 GB, free: 3.91 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/1.898, allocations: 0.7568 MB / 1.702 GB, free: 3.152 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.7e-05/1.899, allocations: 23.94 kB / 1.702 GB, free: 3.129 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.902, allocations: 305.6 kB / 1.703 GB, free: 2.828 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/1.902, allocations: 131.9 kB / 1.703 GB, free: 2.699 MB / 1.389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (472): * Single equations (assignments): 472 * 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.00188/1.904, allocations: 0.8054 MB / 1.704 GB, free: 1.883 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008551/1.905, allocations: 306.1 kB / 1.704 GB, free: 1.582 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008012/1.913, allocations: 4.429 MB / 1.708 GB, free: 13.12 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/1.913, allocations: 40 kB / 1.708 GB, free: 13.08 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.913, allocations: 3.938 kB / 1.708 GB, free: 13.07 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006123/1.919, allocations: 3.796 MB / 1.712 GB, free: 9.211 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.934, allocations: 8.649 MB / 1.72 GB, free: 408 kB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.935, allocations: 8 kB / 1.72 GB, free: 400 kB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/1.938, allocations: 0.722 MB / 1.721 GB, free: 15.67 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-05/1.938, allocations: 16 kB / 1.721 GB, free: 15.65 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/1.938, allocations: 87.97 kB / 1.721 GB, free: 15.57 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.31e-05/1.938, allocations: 19.98 kB / 1.721 GB, free: 15.55 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/1.938, allocations: 0 / 1.721 GB, free: 15.55 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.949, allocations: 6.593 MB / 1.728 GB, free: 8.859 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/1.951, allocations: 0.8068 MB / 1.728 GB, free: 8.031 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/1.952, allocations: 68 kB / 1.729 GB, free: 7.965 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.954, allocations: 87.97 kB / 1.729 GB, free: 7.879 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/1.954, allocations: 238.5 kB / 1.729 GB, free: 7.645 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/1.955, allocations: 116 kB / 1.729 GB, free: 7.531 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001933/1.957, allocations: 1.149 MB / 1.73 GB, free: 6.359 MB / 1.42 GB Notification: Performance of sort global known variables: time 3.21e-07/1.957, allocations: 0 / 1.73 GB, free: 6.359 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.003545/1.96, allocations: 1.276 MB / 1.731 GB, free: 5.082 MB / 1.42 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.001107/1.961, allocations: 462.7 kB / 1.732 GB, free: 4.625 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.007283/1.969, allocations: 4.098 MB / 1.736 GB, free: 0.5156 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.969, allocations: 7.938 kB / 1.736 GB, free: 0.5078 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.003498/1.972, allocations: 2.15 MB / 1.738 GB, free: 14.36 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007851/1.98, allocations: 1.605 MB / 1.739 GB, free: 12.78 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/1.995, allocations: 7.937 MB / 1.747 GB, free: 4.758 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/1.997, allocations: 2.205 MB / 1.749 GB, free: 2.516 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002021/1.999, allocations: 319.3 kB / 1.75 GB, free: 2.203 MB / 1.436 GB Notification: Performance of SimCode: time 1.593e-06/1.999, allocations: 0 / 1.75 GB, free: 2.203 MB / 1.436 GB Notification: Performance of Templates: time 0.1175/2.117, allocations: 55.6 MB / 1.804 GB, free: 10.82 MB / 1.498 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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: 23.303421845892444]