Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00165/0.00165, 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.002083/0.002083, allocations: 207.7 kB / 23 MB, free: 4.57 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.353/3.353, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002383/0.002383, allocations: 68.88 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4387, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.5/1.938, allocations: 320 MB / 1.64 GB, free: 4.309 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03691/1.975, allocations: 18.56 MB / 1.658 GB, free: 4.219 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006801/1.982, allocations: 116.7 kB / 1.658 GB, free: 4.219 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007615/1.99, allocations: 2.263 MB / 1.66 GB, free: 4.18 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02644/2.016, allocations: 7.694 MB / 1.668 GB, free: 3.879 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01465/2.031, allocations: 3.34 MB / 1.671 GB, free: 3.777 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0201/2.051, allocations: 9.266 MB / 1.68 GB, free: 3.758 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008465/2.059, allocations: 2.392 MB / 1.682 GB, free: 19.56 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/2.071, allocations: 3.76 MB / 1.686 GB, free: 19.55 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/2.081, allocations: 3.392 MB / 1.689 GB, free: 19.45 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.002894/2.084, allocations: 401.9 kB / 1.69 GB, free: 19.45 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02398/2.108, allocations: 7.54 MB / 1.697 GB, free: 19.38 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.004721/2.113, allocations: 1.682 MB / 1.699 GB, free: 19.19 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.009901/2.123, allocations: 2.293 MB / 1.701 GB, free: 18.62 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02894/2.152, allocations: 8.2 MB / 1.709 GB, free: 17.68 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/2.152, allocations: 1.031 kB / 1.709 GB, free: 17.68 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.174e-06/2.152, allocations: 0 / 1.709 GB, free: 17.68 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0003354/2.152, allocations: 0 / 1.709 GB, free: 17.68 MB / 1.311 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.02413/2.176, allocations: 4.969 MB / 1.714 GB, free: 15.75 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/2.176, allocations: 7.562 kB / 1.714 GB, free: 15.75 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009118/2.186, allocations: 1.025 MB / 1.715 GB, free: 15.52 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007521/2.193, allocations: 2.099 MB / 1.717 GB, free: 14.98 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/2.193, allocations: 247.2 kB / 1.717 GB, free: 14.97 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/2.194, allocations: 327.7 kB / 1.717 GB, free: 14.96 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/2.205, allocations: 4.394 MB / 1.722 GB, free: 14.66 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/2.205, allocations: 13.84 kB / 1.722 GB, free: 14.66 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004293/2.206, allocations: 133.7 kB / 1.722 GB, free: 14.66 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003302/2.206, allocations: 210.3 kB / 1.722 GB, free: 14.66 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/2.218, allocations: 5.054 MB / 1.727 GB, free: 14.62 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.03208/2.25, allocations: 14.95 MB / 1.742 GB, free: 4.949 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008272/2.258, allocations: 4.263 MB / 1.746 GB, free: 2.625 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004515/2.263, allocations: 2.237 MB / 1.748 GB, free: 1.516 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/2.264, allocations: 275.2 kB / 1.748 GB, free: 1.43 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/2.264, allocations: 80.08 kB / 1.748 GB, free: 1.359 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 7.494e-06/2.264, allocations: 0 / 1.748 GB, free: 1.359 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.01169/2.276, allocations: 5.546 MB / 1.754 GB, free: 14.67 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/2.276, allocations: 90.73 kB / 1.754 GB, free: 14.6 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/2.279, allocations: 1.72 MB / 1.755 GB, free: 13.65 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0005316/2.28, allocations: 94.98 kB / 1.755 GB, free: 13.57 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/2.281, allocations: 1.246 MB / 1.757 GB, free: 12.48 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/2.283, allocations: 1.392 MB / 1.758 GB, free: 11.26 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/2.284, allocations: 0.6141 MB / 1.759 GB, free: 10.93 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001704/2.284, allocations: 301.1 kB / 1.759 GB, free: 10.63 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/2.287, allocations: 1.664 MB / 1.761 GB, free: 9.793 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/2.291, allocations: 2.043 MB / 1.763 GB, free: 8.637 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006746/2.298, allocations: 3.921 MB / 1.766 GB, free: 5.953 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/2.298, allocations: 4 kB / 1.766 GB, free: 5.949 MB / 1.326 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008524/2.306, allocations: 4.454 MB / 1.771 GB, free: 1.508 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/2.306, allocations: 8 kB / 1.771 GB, free: 1.5 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/2.306, allocations: 4 kB / 1.771 GB, free: 1.496 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.159e-05/2.306, allocations: 20 kB / 1.771 GB, free: 1.477 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00404/2.31, allocations: 0.7606 MB / 1.772 GB, free: 0.7617 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.597e-05/2.31, allocations: 20.55 kB / 1.772 GB, free: 0.7422 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/2.314, allocations: 320.1 kB / 1.772 GB, free: 440 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/2.314, allocations: 128 kB / 1.772 GB, free: 312 kB / 1.326 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.002319/2.317, allocations: 0.8086 MB / 1.773 GB, free: 15.53 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/2.318, allocations: 302.1 kB / 1.773 GB, free: 15.23 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008706/2.326, allocations: 4.433 MB / 1.777 GB, free: 10.77 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/2.326, allocations: 40 kB / 1.777 GB, free: 10.73 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/2.326, allocations: 0 / 1.777 GB, free: 10.73 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006256/2.333, allocations: 3.786 MB / 1.781 GB, free: 6.879 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/2.352, allocations: 8.566 MB / 1.789 GB, free: 14.29 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/2.352, allocations: 4 kB / 1.789 GB, free: 14.29 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004871/2.357, allocations: 0.7117 MB / 1.79 GB, free: 13.61 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.083e-05/2.357, allocations: 20.17 kB / 1.79 GB, free: 13.59 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003652/2.357, allocations: 87.98 kB / 1.79 GB, free: 13.51 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.322e-05/2.357, allocations: 12 kB / 1.79 GB, free: 13.5 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/2.357, allocations: 6.531 kB / 1.79 GB, free: 13.49 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/2.373, allocations: 6.594 MB / 1.797 GB, free: 6.809 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003856/2.377, allocations: 0.7314 MB / 1.797 GB, free: 6.074 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/2.378, allocations: 75.98 kB / 1.798 GB, free: 6 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00366/2.382, allocations: 89.61 kB / 1.798 GB, free: 5.914 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007003/2.383, allocations: 249 kB / 1.798 GB, free: 5.672 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000355/2.383, allocations: 112 kB / 1.798 GB, free: 5.562 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.002765/2.386, allocations: 1.157 MB / 1.799 GB, free: 4.383 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.6e-07/2.386, allocations: 0 / 1.799 GB, free: 4.383 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.005494/2.391, allocations: 1.27 MB / 1.8 GB, free: 3.113 MB / 1.357 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.001422/2.393, allocations: 452 kB / 1.801 GB, free: 2.715 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.009384/2.402, allocations: 3.865 MB / 1.805 GB, free: 14.9 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/2.402, allocations: 4 kB / 1.805 GB, free: 14.89 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/2.406, allocations: 1.983 MB / 1.806 GB, free: 12.99 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008804/2.415, allocations: 1.604 MB / 1.808 GB, free: 11.42 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/2.431, allocations: 7.954 MB / 1.816 GB, free: 3.406 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/2.433, allocations: 2.197 MB / 1.818 GB, free: 1.172 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/2.436, allocations: 315.4 kB / 1.818 GB, free: 0.8633 MB / 1.373 GB Notification: Performance of SimCode: time 1.994e-06/2.436, allocations: 0 / 1.818 GB, free: 0.8633 MB / 1.373 GB Notification: Performance of Templates: time 0.1199/2.556, allocations: 55.93 MB / 1.873 GB, free: 9.219 MB / 1.436 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 25.1374153450015]