Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001576/0.001576, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002033/0.002033, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.157/3.157, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.00193/0.00193, allocations: 65.69 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3705, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3313/0.7019, allocations: 262.7 MB / 1.602 GB, free: 8.297 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.8672/1.569, allocations: 15.85 MB / 1.617 GB, free: 4.09 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004454/1.574, allocations: 105.9 kB / 1.617 GB, free: 4.09 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006247/1.58, allocations: 1.789 MB / 1.619 GB, free: 4.09 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02165/1.601, allocations: 6.745 MB / 1.626 GB, free: 3.918 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008967/1.61, allocations: 3.026 MB / 1.629 GB, free: 3.844 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01561/1.626, allocations: 7.853 MB / 1.636 GB, free: 3.828 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005248/1.631, allocations: 1.958 MB / 1.638 GB, free: 19.66 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008675/1.64, allocations: 3.158 MB / 1.641 GB, free: 19.66 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007199/1.647, allocations: 2.838 MB / 1.644 GB, free: 19.66 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/1.648, allocations: 328.2 kB / 1.644 GB, free: 19.66 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/1.663, allocations: 5.099 MB / 1.649 GB, free: 19.6 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003425/1.666, allocations: 1.352 MB / 1.651 GB, free: 19.6 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.006831/1.673, allocations: 1.578 MB / 1.652 GB, free: 19.6 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02069/1.694, allocations: 6.717 MB / 1.659 GB, free: 18.93 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.694, allocations: 4.781 kB / 1.659 GB, free: 18.93 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.744e-06/1.694, allocations: 0 / 1.659 GB, free: 18.93 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001519/1.694, allocations: 0 / 1.659 GB, free: 18.93 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01379/1.708, allocations: 4.109 MB / 1.663 GB, free: 17.28 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.708, allocations: 9.125 kB / 1.663 GB, free: 17.28 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.587e-05/1.708, allocations: 68.42 kB / 1.663 GB, free: 17.27 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000588/1.708, allocations: 378.9 kB / 1.663 GB, free: 17.22 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007946/1.716, allocations: 1.054 MB / 1.664 GB, free: 17.04 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/1.721, allocations: 1.807 MB / 1.666 GB, free: 16.56 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.721, allocations: 195.1 kB / 1.666 GB, free: 16.55 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004656/1.721, allocations: 263.5 kB / 1.667 GB, free: 16.55 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/1.727, allocations: 3.875 MB / 1.67 GB, free: 15.76 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.446e-05/1.727, allocations: 6.641 kB / 1.67 GB, free: 15.76 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/1.728, allocations: 112.2 kB / 1.67 GB, free: 15.76 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/1.728, allocations: 157.2 kB / 1.671 GB, free: 15.75 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/1.734, allocations: 3.704 MB / 1.674 GB, free: 15.72 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.01445/1.748, allocations: 8.404 MB / 1.682 GB, free: 13.55 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/1.752, allocations: 3.007 MB / 1.685 GB, free: 13.45 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/1.755, allocations: 1.733 MB / 1.687 GB, free: 13.41 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/1.756, allocations: 218.2 kB / 1.687 GB, free: 13.4 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/1.756, allocations: 65.31 kB / 1.687 GB, free: 13.36 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.48e-06/1.756, allocations: 0.8438 kB / 1.687 GB, free: 13.36 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.00661/1.762, allocations: 3.993 MB / 1.691 GB, free: 13.1 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/1.763, allocations: 81.53 kB / 1.691 GB, free: 13.04 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/1.765, allocations: 1.393 MB / 1.693 GB, free: 12.86 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/1.765, allocations: 76.45 kB / 1.693 GB, free: 12.83 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008045/1.766, allocations: 1.046 MB / 1.694 GB, free: 12.38 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/1.767, allocations: 0.9918 MB / 1.695 GB, free: 11.72 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007096/1.768, allocations: 446.2 kB / 1.695 GB, free: 11.69 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.768, allocations: 301.1 kB / 1.695 GB, free: 11.39 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/1.769, allocations: 1.178 MB / 1.697 GB, free: 11.39 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/1.772, allocations: 1.451 MB / 1.698 GB, free: 11.2 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/1.776, allocations: 2.799 MB / 1.701 GB, free: 10.98 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/1.776, allocations: 0 / 1.701 GB, free: 10.98 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005516/1.782, allocations: 3.189 MB / 1.704 GB, free: 10.73 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/1.782, allocations: 7.281 kB / 1.704 GB, free: 10.73 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.782, allocations: 5.5 kB / 1.704 GB, free: 10.73 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/1.782, allocations: 17.47 kB / 1.704 GB, free: 10.73 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/1.785, allocations: 0.5512 MB / 1.704 GB, free: 10.73 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.722e-05/1.785, allocations: 19.38 kB / 1.704 GB, free: 10.73 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/1.788, allocations: 223.2 kB / 1.705 GB, free: 10.61 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/1.788, allocations: 89.66 kB / 1.705 GB, free: 10.61 MB / 1.311 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.001603/1.789, allocations: 0.6466 MB / 1.705 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007128/1.79, allocations: 246.9 kB / 1.706 GB, free: 10.37 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00505/1.795, allocations: 3.196 MB / 1.709 GB, free: 10.19 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.795, allocations: 29.81 kB / 1.709 GB, free: 10.19 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.795, allocations: 2.531 kB / 1.709 GB, free: 10.19 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003837/1.799, allocations: 2.723 MB / 1.711 GB, free: 9.535 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/1.809, allocations: 5.847 MB / 1.717 GB, free: 7.109 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/1.809, allocations: 0.8438 kB / 1.717 GB, free: 7.109 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/1.812, allocations: 0.5528 MB / 1.718 GB, free: 7.09 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/1.812, allocations: 11.72 kB / 1.718 GB, free: 7.09 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/1.812, allocations: 58.89 kB / 1.718 GB, free: 7.055 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/1.812, allocations: 12.12 kB / 1.718 GB, free: 7.055 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.812, allocations: 4 kB / 1.718 GB, free: 7.051 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007117/1.819, allocations: 4.71 MB / 1.722 GB, free: 5.062 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.821, allocations: 0.552 MB / 1.723 GB, free: 4.758 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/1.821, allocations: 50.59 kB / 1.723 GB, free: 4.723 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.823, allocations: 70.36 kB / 1.723 GB, free: 4.688 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/1.824, allocations: 177.6 kB / 1.723 GB, free: 4.66 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.824, allocations: 82.77 kB / 1.723 GB, free: 4.641 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001342/1.825, allocations: 0.946 MB / 1.724 GB, free: 4.277 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.825, allocations: 0 / 1.724 GB, free: 4.277 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002427/1.828, allocations: 1.006 MB / 1.725 GB, free: 4.078 MB / 1.311 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.007799/1.835, allocations: 5.514 MB / 1.731 GB, free: 1.512 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004778/1.84, allocations: 2.749 MB / 1.733 GB, free: 0.6133 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.84, allocations: 2.875 kB / 1.733 GB, free: 0.6133 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/1.843, allocations: 1.433 MB / 1.735 GB, free: 180 kB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007099/1.85, allocations: 1.356 MB / 1.736 GB, free: 15.77 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/1.885, allocations: 19.89 MB / 1.755 GB, free: 3.172 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.887, allocations: 1.336 MB / 1.757 GB, free: 1.805 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.003546/1.891, allocations: 0.9025 MB / 1.758 GB, free: 0.8984 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/1.893, allocations: 1.097 MB / 1.759 GB, free: 15.8 MB / 1.342 GB Notification: Performance of SimCode: time 1.783e-06/1.893, allocations: 4 kB / 1.759 GB, free: 15.8 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/2.03, allocations: 75.25 MB / 1.832 GB, free: 5.77 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.59, allocations: 4 kB / 1.832 GB, free: 5.766 MB / 1.404 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.741320403991267]