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.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.002022/0.002022, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001842/0.001842, allocations: 213.9 kB / 23.01 MB, free: 4.566 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.382/3.382, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 66.8 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.446, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.27/1.716, allocations: 320.1 MB / 1.667 GB, free: 4.141 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02793/1.743, allocations: 18.7 MB / 1.685 GB, free: 3.98 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/1.749, allocations: 116.7 kB / 1.685 GB, free: 3.98 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007432/1.756, allocations: 2.266 MB / 1.687 GB, free: 3.934 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02538/1.781, allocations: 7.767 MB / 1.695 GB, free: 3.605 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/1.791, allocations: 3.334 MB / 1.698 GB, free: 3.488 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01401/1.805, allocations: 9.328 MB / 1.707 GB, free: 3.445 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/1.81, allocations: 2.408 MB / 1.71 GB, free: 3.238 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/1.823, allocations: 3.77 MB / 1.713 GB, free: 3.082 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/1.834, allocations: 3.414 MB / 1.717 GB, free: 2.684 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003055/1.837, allocations: 414.5 kB / 1.717 GB, free: 2.68 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02513/1.862, allocations: 7.585 MB / 1.724 GB, free: 2.609 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003698/1.866, allocations: 1.694 MB / 1.726 GB, free: 2.418 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.007219/1.873, allocations: 2.31 MB / 1.728 GB, free: 1.844 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.025/1.898, allocations: 8.269 MB / 1.736 GB, free: 0.8281 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.898, allocations: 0 / 1.736 GB, free: 0.8281 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.114e-06/1.898, allocations: 0 / 1.736 GB, free: 0.8281 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000212/1.898, allocations: 0 / 1.736 GB, free: 0.8281 MB / 1.295 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.01667/1.915, allocations: 4.993 MB / 1.741 GB, free: 14.24 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.915, allocations: 12.41 kB / 1.741 GB, free: 14.24 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/1.932, allocations: 2.029 MB / 1.743 GB, free: 13.63 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007533/1.94, allocations: 2.19 MB / 1.745 GB, free: 12.24 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/1.94, allocations: 259.4 kB / 1.746 GB, free: 12.13 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001613/1.942, allocations: 328.6 kB / 1.746 GB, free: 12.02 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/1.955, allocations: 5.131 MB / 1.751 GB, free: 9.035 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/1.955, allocations: 9.344 kB / 1.751 GB, free: 9.031 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005664/1.956, allocations: 135.4 kB / 1.751 GB, free: 8.934 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002501/1.956, allocations: 212.4 kB / 1.751 GB, free: 8.887 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/1.972, allocations: 6.162 MB / 1.757 GB, free: 5.914 MB / 1.311 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.04089/2.013, allocations: 16.35 MB / 1.773 GB, free: 8.902 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/2.026, allocations: 5.305 MB / 1.778 GB, free: 6.02 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007291/2.033, allocations: 2.752 MB / 1.781 GB, free: 4.312 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/2.034, allocations: 96.88 kB / 1.781 GB, free: 4.23 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/2.034, allocations: 73.64 kB / 1.781 GB, free: 4.148 MB / 1.326 GB Notification: Performance of pre-optimization done (n=392): time 6.251e-06/2.034, allocations: 0 / 1.781 GB, free: 4.148 MB / 1.326 GB Notification: Performance of matching and sorting (n=392): time 0.01982/2.054, allocations: 7.049 MB / 1.788 GB, free: 13.08 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/2.054, allocations: 90.48 kB / 1.788 GB, free: 12.98 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/2.057, allocations: 1.734 MB / 1.79 GB, free: 11.2 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/2.059, allocations: 97.7 kB / 1.79 GB, free: 11.1 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/2.06, allocations: 1.242 MB / 1.791 GB, free: 9.852 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.002503/2.062, allocations: 1.395 MB / 1.793 GB, free: 8.473 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003488/2.066, allocations: 0.6338 MB / 1.793 GB, free: 7.832 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001559/2.066, allocations: 305.1 kB / 1.794 GB, free: 7.531 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005539/2.071, allocations: 2.229 MB / 1.796 GB, free: 5.301 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006241/2.078, allocations: 2.602 MB / 1.798 GB, free: 2.637 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/2.09, allocations: 4.939 MB / 1.803 GB, free: 13.64 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/2.09, allocations: 4 kB / 1.803 GB, free: 13.63 MB / 1.357 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01682/2.107, allocations: 5.547 MB / 1.809 GB, free: 8.098 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/2.107, allocations: 10.34 kB / 1.809 GB, free: 8.09 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/2.107, allocations: 7.938 kB / 1.809 GB, free: 8.082 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.184e-05/2.107, allocations: 24 kB / 1.809 GB, free: 8.059 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006377/2.113, allocations: 0.877 MB / 1.809 GB, free: 7.227 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.996e-05/2.113, allocations: 27.17 kB / 1.809 GB, free: 7.203 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/2.119, allocations: 413.4 kB / 1.81 GB, free: 6.797 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/2.12, allocations: 132 kB / 1.81 GB, free: 6.668 MB / 1.357 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.003707/2.124, allocations: 0.8196 MB / 1.811 GB, free: 5.883 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/2.126, allocations: 306.1 kB / 1.811 GB, free: 5.582 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/2.128, allocations: 462 kB / 1.811 GB, free: 5.121 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/2.128, allocations: 40 kB / 1.812 GB, free: 5.082 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/2.128, allocations: 0 / 1.812 GB, free: 5.082 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01431/2.142, allocations: 4.805 MB / 1.816 GB, free: 216 kB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0339/2.176, allocations: 10.26 MB / 1.826 GB, free: 5.941 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/2.176, allocations: 0 / 1.826 GB, free: 5.941 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006816/2.183, allocations: 0.8409 MB / 1.827 GB, free: 5.137 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.989e-05/2.183, allocations: 20 kB / 1.827 GB, free: 5.117 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/2.184, allocations: 95.94 kB / 1.827 GB, free: 5.023 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.638e-05/2.185, allocations: 16 kB / 1.827 GB, free: 5.008 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/2.185, allocations: 0 / 1.827 GB, free: 5.008 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/2.207, allocations: 8.379 MB / 1.835 GB, free: 12.54 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00396/2.211, allocations: 0.8289 MB / 1.836 GB, free: 11.71 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/2.212, allocations: 75.98 kB / 1.836 GB, free: 11.64 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005322/2.218, allocations: 194.8 kB / 1.836 GB, free: 11.45 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/2.219, allocations: 246.5 kB / 1.837 GB, free: 11.21 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008744/2.22, allocations: 115.9 kB / 1.837 GB, free: 11.09 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.003159/2.223, allocations: 1.173 MB / 1.838 GB, free: 9.898 MB / 1.389 GB Notification: Performance of sort global known variables: time 7e-08/2.223, allocations: 0 / 1.838 GB, free: 9.898 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.00628/2.229, allocations: 1.342 MB / 1.839 GB, free: 8.559 MB / 1.389 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.001513/2.231, allocations: 404.4 kB / 1.84 GB, free: 8.203 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.01306/2.244, allocations: 4.962 MB / 1.844 GB, free: 3.285 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/2.244, allocations: 3.281 kB / 1.844 GB, free: 3.285 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.006547/2.25, allocations: 2.523 MB / 1.847 GB, free: 0.8398 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/2.261, allocations: 1.616 MB / 1.849 GB, free: 15.25 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/2.283, allocations: 8.831 MB / 1.857 GB, free: 6.359 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003607/2.287, allocations: 2.206 MB / 1.859 GB, free: 4.117 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004585/2.291, allocations: 339.3 kB / 1.86 GB, free: 3.785 MB / 1.404 GB Notification: Performance of SimCode: time 1.433e-06/2.291, allocations: 0 / 1.86 GB, free: 3.785 MB / 1.404 GB Notification: Performance of Templates: time 0.1098/2.401, allocations: 64.83 MB / 1.923 GB, free: 3.137 MB / 1.467 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/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: 24.94353498899727]