Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00164/0.00164, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002132/0.002132, allocations: 214.2 kB / 23.04 MB, free: 5.078 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.879/2.879, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",version="2.0",platforms={"static"}) [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.002045/0.002045, allocations: 65.41 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4071, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3912/0.7984, allocations: 319.9 MB / 1.597 GB, free: 10.68 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 1.029/1.827, allocations: 18.52 MB / 1.615 GB, free: 2.383 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006442/1.834, allocations: 116.9 kB / 1.615 GB, free: 2.383 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007833/1.841, allocations: 2.263 MB / 1.617 GB, free: 2.383 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02789/1.869, allocations: 7.696 MB / 1.624 GB, free: 2.172 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01295/1.882, allocations: 3.339 MB / 1.628 GB, free: 2.086 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.02129/1.904, allocations: 9.277 MB / 1.637 GB, free: 2.062 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009365/1.913, allocations: 2.392 MB / 1.639 GB, free: 17.87 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/1.925, allocations: 3.439 MB / 1.642 GB, free: 17.87 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/1.938, allocations: 3.422 MB / 1.646 GB, free: 17.87 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.003735/1.942, allocations: 402 kB / 1.646 GB, free: 17.87 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02536/1.967, allocations: 7.573 MB / 1.654 GB, free: 17.8 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.006134/1.973, allocations: 1.728 MB / 1.655 GB, free: 17.8 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01244/1.985, allocations: 2.303 MB / 1.658 GB, free: 17.62 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02402/2.009, allocations: 8.215 MB / 1.666 GB, free: 16.69 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/2.009, allocations: 2.5 kB / 1.666 GB, free: 16.69 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.683e-06/2.009, allocations: 0 / 1.666 GB, free: 16.69 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0003094/2.01, allocations: 0.9688 kB / 1.666 GB, free: 16.69 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02007/2.03, allocations: 5.052 MB / 1.671 GB, free: 14.74 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/2.03, allocations: 13.14 kB / 1.671 GB, free: 14.74 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001417/2.03, allocations: 86.36 kB / 1.671 GB, free: 14.73 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002214/2.032, allocations: 462 kB / 1.671 GB, free: 14.68 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008424/2.041, allocations: 1.029 MB / 1.672 GB, free: 14.45 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007051/2.048, allocations: 2.155 MB / 1.674 GB, free: 13.91 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/2.048, allocations: 250.3 kB / 1.674 GB, free: 13.9 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/2.05, allocations: 326.5 kB / 1.675 GB, free: 13.9 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/2.063, allocations: 4.236 MB / 1.679 GB, free: 13.61 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/2.064, allocations: 11.45 kB / 1.679 GB, free: 13.61 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/2.065, allocations: 132.9 kB / 1.679 GB, free: 13.61 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002559/2.065, allocations: 173.4 kB / 1.679 GB, free: 13.59 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/2.078, allocations: 4.779 MB / 1.684 GB, free: 13.56 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.03134/2.11, allocations: 14.36 MB / 1.698 GB, free: 7.102 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007522/2.117, allocations: 4.257 MB / 1.702 GB, free: 6.953 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/2.122, allocations: 2.239 MB / 1.704 GB, free: 6.922 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/2.123, allocations: 270.2 kB / 1.704 GB, free: 6.914 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/2.123, allocations: 80.06 kB / 1.705 GB, free: 6.871 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 6.602e-06/2.123, allocations: 4.906 kB / 1.705 GB, free: 6.867 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.01425/2.137, allocations: 5.549 MB / 1.71 GB, free: 6.57 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/2.137, allocations: 91.42 kB / 1.71 GB, free: 6.504 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/2.141, allocations: 1.689 MB / 1.712 GB, free: 6.285 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0007109/2.142, allocations: 93.67 kB / 1.712 GB, free: 6.254 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/2.143, allocations: 1.153 MB / 1.713 GB, free: 5.816 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002107/2.145, allocations: 1.386 MB / 1.714 GB, free: 4.891 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/2.147, allocations: 0.5478 MB / 1.715 GB, free: 4.859 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001688/2.147, allocations: 308.2 kB / 1.715 GB, free: 4.562 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/2.15, allocations: 1.567 MB / 1.717 GB, free: 4.551 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/2.154, allocations: 1.914 MB / 1.718 GB, free: 4.34 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006375/2.16, allocations: 3.767 MB / 1.722 GB, free: 4.086 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/2.16, allocations: 3.781 kB / 1.722 GB, free: 4.086 MB / 1.311 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008066/2.168, allocations: 4.189 MB / 1.726 GB, free: 3.809 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/2.168, allocations: 11.97 kB / 1.726 GB, free: 3.805 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/2.168, allocations: 5.344 kB / 1.726 GB, free: 3.805 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.422e-05/2.168, allocations: 20.31 kB / 1.726 GB, free: 3.805 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/2.171, allocations: 0.6992 MB / 1.727 GB, free: 3.801 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.573e-05/2.171, allocations: 23.38 kB / 1.727 GB, free: 3.801 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/2.174, allocations: 264.6 kB / 1.727 GB, free: 3.652 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/2.175, allocations: 116.2 kB / 1.727 GB, free: 3.652 MB / 1.311 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 (430): * Single equations (assignments): 430 * 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.002307/2.177, allocations: 0.7995 MB / 1.728 GB, free: 3.504 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/2.178, allocations: 312.9 kB / 1.728 GB, free: 3.34 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009167/2.188, allocations: 4.432 MB / 1.733 GB, free: 1.211 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/2.188, allocations: 36.06 kB / 1.733 GB, free: 1.211 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/2.188, allocations: 0 / 1.733 GB, free: 1.211 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006858/2.194, allocations: 3.798 MB / 1.736 GB, free: 15.22 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/2.215, allocations: 8.538 MB / 1.745 GB, free: 7.039 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/2.215, allocations: 4 kB / 1.745 GB, free: 7.035 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004067/2.219, allocations: 0.7233 MB / 1.746 GB, free: 6.352 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.199e-05/2.219, allocations: 16 kB / 1.746 GB, free: 6.336 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005852/2.219, allocations: 84.58 kB / 1.746 GB, free: 6.254 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.531e-05/2.219, allocations: 23.92 kB / 1.746 GB, free: 6.23 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/2.219, allocations: 7.438 kB / 1.746 GB, free: 6.227 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/2.234, allocations: 6.58 MB / 1.752 GB, free: 15.55 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00282/2.236, allocations: 0.7314 MB / 1.753 GB, free: 14.82 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/2.238, allocations: 72 kB / 1.753 GB, free: 14.75 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/2.241, allocations: 85.97 kB / 1.753 GB, free: 14.67 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007269/2.241, allocations: 253 kB / 1.753 GB, free: 14.42 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/2.242, allocations: 120 kB / 1.753 GB, free: 14.3 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.002703/2.245, allocations: 1.149 MB / 1.754 GB, free: 13.13 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.2e-07/2.245, allocations: 0 / 1.754 GB, free: 13.13 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.005176/2.25, allocations: 1.244 MB / 1.756 GB, free: 11.89 MB / 1.342 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.0146/2.264, allocations: 7.479 MB / 1.763 GB, free: 4.375 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.007592/2.272, allocations: 3.731 MB / 1.767 GB, free: 0.6836 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.272, allocations: 0 / 1.767 GB, free: 0.6836 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.00383/2.276, allocations: 1.989 MB / 1.769 GB, free: 14.78 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009617/2.285, allocations: 1.596 MB / 1.77 GB, free: 13.21 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05951/2.345, allocations: 25.83 MB / 1.795 GB, free: 3.133 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003319/2.348, allocations: 2.211 MB / 1.797 GB, free: 0.8867 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.005603/2.354, allocations: 1.208 MB / 1.799 GB, free: 15.67 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00359/2.357, allocations: 1.386 MB / 1.8 GB, free: 14.29 MB / 1.389 GB Notification: Performance of SimCode: time 2.515e-06/2.357, allocations: 0 / 1.8 GB, free: 14.29 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.217/2.574, allocations: 88.62 MB / 1.887 GB, free: 6.773 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.6/22.18, allocations: 0 / 1.887 GB, free: 6.773 MB / 1.467 GB " [Timeout remaining time 277] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 30.043928273022175]