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.001734/0.001734, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002076/0.002076, allocations: 214.9 kB / 23.04 MB, free: 5.074 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.423/1.423, 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.101/3.101, allocations: 0.49 GB / 0.7959 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_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.001917/0.001917, allocations: 59.03 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.167/1.53, allocations: 320 MB / 1.639 GB, free: 4.031 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0281/1.558, allocations: 18.56 MB / 1.657 GB, free: 3.945 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00577/1.564, allocations: 116.7 kB / 1.657 GB, free: 3.945 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006895/1.571, allocations: 2.265 MB / 1.66 GB, free: 3.902 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0234/1.594, allocations: 7.698 MB / 1.667 GB, free: 3.605 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01072/1.605, allocations: 3.343 MB / 1.67 GB, free: 3.504 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01309/1.618, allocations: 9.267 MB / 1.679 GB, free: 3.48 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006217/1.625, allocations: 2.392 MB / 1.682 GB, free: 19.28 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008957/1.633, allocations: 3.759 MB / 1.685 GB, free: 19.28 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007217/1.641, allocations: 3.386 MB / 1.689 GB, free: 19.18 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.00162/1.642, allocations: 405.1 kB / 1.689 GB, free: 19.18 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01642/1.659, allocations: 7.533 MB / 1.697 GB, free: 19.11 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003975/1.663, allocations: 1.686 MB / 1.698 GB, free: 18.92 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.006686/1.669, allocations: 2.29 MB / 1.7 GB, free: 18.35 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02525/1.695, allocations: 8.195 MB / 1.708 GB, free: 17.41 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.695, allocations: 4.25 kB / 1.708 GB, free: 17.41 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.753e-06/1.695, allocations: 0 / 1.708 GB, free: 17.41 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0003019/1.695, allocations: 0 / 1.708 GB, free: 17.41 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.01811/1.713, allocations: 4.977 MB / 1.713 GB, free: 15.48 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.713, allocations: 8.75 kB / 1.713 GB, free: 15.48 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001006/1.713, allocations: 86.25 kB / 1.713 GB, free: 15.47 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001615/1.715, allocations: 479 kB / 1.714 GB, free: 15.41 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007836/1.723, allocations: 1.025 MB / 1.715 GB, free: 15.18 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006165/1.729, allocations: 2.091 MB / 1.717 GB, free: 14.63 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/1.729, allocations: 248.4 kB / 1.717 GB, free: 14.62 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/1.731, allocations: 325.6 kB / 1.717 GB, free: 14.62 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/1.743, allocations: 4.4 MB / 1.722 GB, free: 14.32 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002181/1.743, allocations: 6.703 kB / 1.722 GB, free: 14.32 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/1.745, allocations: 137.3 kB / 1.722 GB, free: 14.32 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/1.745, allocations: 220.2 kB / 1.722 GB, free: 14.31 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/1.756, allocations: 5.046 MB / 1.727 GB, free: 14.28 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.02869/1.784, allocations: 14.96 MB / 1.742 GB, free: 4.469 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007487/1.792, allocations: 4.276 MB / 1.746 GB, free: 2.133 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004033/1.796, allocations: 2.24 MB / 1.748 GB, free: 1.023 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/1.797, allocations: 271.4 kB / 1.748 GB, free: 0.9453 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.057e-05/1.797, allocations: 79.11 kB / 1.748 GB, free: 0.8711 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 6.422e-06/1.797, allocations: 0 / 1.748 GB, free: 0.8711 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.01105/1.808, allocations: 5.542 MB / 1.754 GB, free: 14.18 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/1.808, allocations: 92.73 kB / 1.754 GB, free: 14.12 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/1.812, allocations: 1.715 MB / 1.755 GB, free: 13.17 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0004099/1.812, allocations: 94.45 kB / 1.756 GB, free: 13.09 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.813, allocations: 1.249 MB / 1.757 GB, free: 11.99 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/1.815, allocations: 1.395 MB / 1.758 GB, free: 10.78 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/1.816, allocations: 0.6123 MB / 1.759 GB, free: 10.44 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.816, allocations: 311.5 kB / 1.759 GB, free: 10.14 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.819, allocations: 1.657 MB / 1.761 GB, free: 9.305 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/1.822, allocations: 2.039 MB / 1.763 GB, free: 8.152 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006753/1.829, allocations: 3.922 MB / 1.766 GB, free: 5.195 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/1.829, allocations: 0 / 1.766 GB, free: 5.195 MB / 1.326 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00863/1.838, allocations: 4.453 MB / 1.771 GB, free: 0.7539 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/1.838, allocations: 11.94 kB / 1.771 GB, free: 0.7422 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.838, allocations: 4 kB / 1.771 GB, free: 0.7383 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-05/1.838, allocations: 20 kB / 1.771 GB, free: 0.7188 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/1.841, allocations: 0.7657 MB / 1.772 GB, free: 0 / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001146/1.841, allocations: 22.58 kB / 1.772 GB, free: 15.98 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/1.845, allocations: 305.5 kB / 1.772 GB, free: 15.68 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/1.845, allocations: 124 kB / 1.772 GB, free: 15.56 MB / 1.342 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.001859/1.847, allocations: 0.8078 MB / 1.773 GB, free: 14.79 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.848, allocations: 310.1 kB / 1.773 GB, free: 14.48 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008523/1.856, allocations: 4.428 MB / 1.777 GB, free: 10.02 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/1.857, allocations: 44 kB / 1.777 GB, free: 9.98 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.857, allocations: 0 / 1.777 GB, free: 9.98 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006156/1.863, allocations: 3.79 MB / 1.781 GB, free: 6.125 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/1.88, allocations: 8.56 MB / 1.79 GB, free: 13.54 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.88, allocations: 0 / 1.79 GB, free: 13.54 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003422/1.883, allocations: 0.7224 MB / 1.79 GB, free: 12.86 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.672e-05/1.883, allocations: 18.44 kB / 1.79 GB, free: 12.84 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003177/1.883, allocations: 83.97 kB / 1.79 GB, free: 12.76 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.072e-05/1.883, allocations: 19.94 kB / 1.79 GB, free: 12.74 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.883, allocations: 4 kB / 1.79 GB, free: 12.73 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.895, allocations: 6.595 MB / 1.797 GB, free: 6.051 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.897, allocations: 0.7275 MB / 1.798 GB, free: 5.32 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007617/1.897, allocations: 71.98 kB / 1.798 GB, free: 5.25 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.9, allocations: 89.62 kB / 1.798 GB, free: 5.164 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004827/1.9, allocations: 249 kB / 1.798 GB, free: 4.922 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/1.901, allocations: 120 kB / 1.798 GB, free: 4.805 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.002239/1.903, allocations: 1.153 MB / 1.799 GB, free: 3.629 MB / 1.357 GB Notification: Performance of sort global known variables: time 8e-08/1.903, allocations: 0 / 1.799 GB, free: 3.629 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.003642/1.907, allocations: 1.272 MB / 1.8 GB, free: 2.355 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.01212/1.919, allocations: 7.478 MB / 1.808 GB, free: 10.84 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.007095/1.926, allocations: 3.863 MB / 1.811 GB, free: 7.023 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.926, allocations: 2.531 kB / 1.811 GB, free: 7.023 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003388/1.929, allocations: 1.983 MB / 1.813 GB, free: 5.117 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008607/1.938, allocations: 1.604 MB / 1.815 GB, free: 3.543 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05072/1.988, allocations: 26.11 MB / 1.84 GB, free: 9.18 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/1.991, allocations: 2.205 MB / 1.843 GB, free: 6.938 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.005148/1.996, allocations: 1.268 MB / 1.844 GB, free: 5.664 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002859/1.999, allocations: 1.39 MB / 1.845 GB, free: 4.273 MB / 1.404 GB Notification: Performance of SimCode: time 7.92e-07/1.999, allocations: 4 kB / 1.845 GB, free: 4.27 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/2.165, allocations: 89.22 MB / 1.932 GB, free: 12.05 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.27/20.44, allocations: 18.36 kB / 1.932 GB, free: 12.04 MB / 1.498 GB " [Timeout remaining time 279] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 420.0] 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: 27.56782477896195]