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.001693/0.001693, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001818/0.001818, allocations: 218 kB / 23.03 MB, free: 4.922 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.162/3.162, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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: "" <> 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.001926/0.001926, allocations: 66.2 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3674, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3349/0.7023, allocations: 279.9 MB / 1.6 GB, free: 8.633 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.8477/1.55, allocations: 17.22 MB / 1.617 GB, free: 4.227 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005022/1.555, allocations: 117.7 kB / 1.617 GB, free: 4.227 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00639/1.561, allocations: 2.028 MB / 1.619 GB, free: 4.227 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02069/1.582, allocations: 7.657 MB / 1.626 GB, free: 3.996 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/1.593, allocations: 3.303 MB / 1.63 GB, free: 3.922 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.02064/1.614, allocations: 9.257 MB / 1.639 GB, free: 3.902 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00535/1.619, allocations: 2.384 MB / 1.641 GB, free: 19.71 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/1.629, allocations: 3.787 MB / 1.645 GB, free: 19.7 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008716/1.638, allocations: 3.391 MB / 1.648 GB, free: 19.7 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001565/1.639, allocations: 403 kB / 1.648 GB, free: 19.7 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/1.656, allocations: 5.801 MB / 1.654 GB, free: 19.62 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003867/1.66, allocations: 1.68 MB / 1.656 GB, free: 19.62 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.006218/1.666, allocations: 1.938 MB / 1.657 GB, free: 19.6 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/1.684, allocations: 7.988 MB / 1.665 GB, free: 18.67 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.684, allocations: 0 / 1.665 GB, free: 18.67 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.535e-06/1.684, allocations: 1 kB / 1.665 GB, free: 18.67 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002326/1.684, allocations: 3.656 kB / 1.665 GB, free: 18.67 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.01644/1.7, allocations: 4.957 MB / 1.67 GB, free: 16.75 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.7, allocations: 10.62 kB / 1.67 GB, free: 16.75 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001031/1.701, allocations: 89.31 kB / 1.67 GB, free: 16.74 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009549/1.702, allocations: 478.3 kB / 1.671 GB, free: 16.68 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007133/1.709, allocations: 1.023 MB / 1.672 GB, free: 16.46 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/1.714, allocations: 2.105 MB / 1.674 GB, free: 15.93 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/1.714, allocations: 246.9 kB / 1.674 GB, free: 15.92 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000785/1.715, allocations: 330.1 kB / 1.674 GB, free: 15.92 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007839/1.723, allocations: 4.801 MB / 1.679 GB, free: 15.12 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-05/1.723, allocations: 5.281 kB / 1.679 GB, free: 15.12 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/1.723, allocations: 135.5 kB / 1.679 GB, free: 15.12 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/1.723, allocations: 215.1 kB / 1.679 GB, free: 15.12 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008563/1.732, allocations: 5.055 MB / 1.684 GB, free: 15.08 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.02039/1.752, allocations: 10.28 MB / 1.694 GB, free: 12.79 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005523/1.758, allocations: 4.248 MB / 1.698 GB, free: 12.63 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/1.761, allocations: 2.237 MB / 1.701 GB, free: 12.6 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.762, allocations: 259.1 kB / 1.701 GB, free: 12.6 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.028e-05/1.762, allocations: 74.27 kB / 1.701 GB, free: 12.55 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 6.552e-06/1.762, allocations: 0 / 1.701 GB, free: 12.55 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.008669/1.771, allocations: 5.554 MB / 1.706 GB, free: 12.25 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/1.771, allocations: 93.7 kB / 1.706 GB, free: 12.19 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/1.774, allocations: 1.714 MB / 1.708 GB, free: 11.96 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0006228/1.774, allocations: 93.7 kB / 1.708 GB, free: 11.93 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009408/1.775, allocations: 1.25 MB / 1.709 GB, free: 11.39 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.777, allocations: 1.392 MB / 1.711 GB, free: 10.46 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.778, allocations: 0.6065 MB / 1.711 GB, free: 10.43 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.778, allocations: 306.8 kB / 1.712 GB, free: 10.13 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/1.781, allocations: 1.66 MB / 1.713 GB, free: 10.12 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/1.784, allocations: 2.093 MB / 1.715 GB, free: 9.852 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/1.79, allocations: 3.92 MB / 1.719 GB, free: 8.48 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/1.79, allocations: 0 / 1.719 GB, free: 8.48 MB / 1.311 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007583/1.797, allocations: 4.453 MB / 1.724 GB, free: 6.762 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.797, allocations: 11.69 kB / 1.724 GB, free: 6.758 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.797, allocations: 6.562 kB / 1.724 GB, free: 6.758 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/1.797, allocations: 22.45 kB / 1.724 GB, free: 6.758 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/1.8, allocations: 0.7539 MB / 1.724 GB, free: 6.73 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.48e-05/1.801, allocations: 32.17 kB / 1.724 GB, free: 6.727 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/1.804, allocations: 305.6 kB / 1.725 GB, free: 6.492 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003022/1.804, allocations: 123.1 kB / 1.725 GB, free: 6.465 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 (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.00172/1.806, allocations: 0.8114 MB / 1.726 GB, free: 6.047 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/1.806, allocations: 309.8 kB / 1.726 GB, free: 5.887 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007267/1.814, allocations: 4.436 MB / 1.73 GB, free: 4.066 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/1.814, allocations: 38.03 kB / 1.73 GB, free: 4.066 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.814, allocations: 0.9375 kB / 1.73 GB, free: 4.066 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00597/1.82, allocations: 3.792 MB / 1.734 GB, free: 2.492 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/1.834, allocations: 7.959 MB / 1.742 GB, free: 14.82 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.834, allocations: 3.688 kB / 1.742 GB, free: 14.82 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/1.838, allocations: 0.7207 MB / 1.742 GB, free: 14.71 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-05/1.838, allocations: 17.8 kB / 1.742 GB, free: 14.71 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000346/1.838, allocations: 89.69 kB / 1.742 GB, free: 14.65 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.892e-05/1.838, allocations: 17.38 kB / 1.743 GB, free: 14.64 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.838, allocations: 3.562 kB / 1.743 GB, free: 14.64 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.849, allocations: 6.59 MB / 1.749 GB, free: 11.16 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/1.851, allocations: 0.7317 MB / 1.75 GB, free: 10.66 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006348/1.852, allocations: 75 kB / 1.75 GB, free: 10.61 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.854, allocations: 89.03 kB / 1.75 GB, free: 10.55 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/1.855, allocations: 248 kB / 1.75 GB, free: 10.39 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/1.855, allocations: 113 kB / 1.75 GB, free: 10.36 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001872/1.857, allocations: 1.159 MB / 1.751 GB, free: 9.715 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/1.857, allocations: 0 / 1.751 GB, free: 9.715 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00446/1.861, allocations: 1.273 MB / 1.753 GB, free: 8.746 MB / 1.326 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.01286/1.874, allocations: 7.481 MB / 1.76 GB, free: 1.266 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.007896/1.882, allocations: 3.858 MB / 1.764 GB, free: 13.45 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.882, allocations: 3.938 kB / 1.764 GB, free: 13.45 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/1.886, allocations: 1.987 MB / 1.766 GB, free: 11.54 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00833/1.894, allocations: 1.607 MB / 1.767 GB, free: 9.969 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05016/1.944, allocations: 26.1 MB / 1.793 GB, free: 15.64 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/1.946, allocations: 1.652 MB / 1.794 GB, free: 13.95 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.00468/1.951, allocations: 1.268 MB / 1.795 GB, free: 12.67 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/1.953, allocations: 1.386 MB / 1.797 GB, free: 11.29 MB / 1.373 GB Notification: Performance of SimCode: time 1.322e-06/1.953, allocations: 0 / 1.797 GB, free: 11.29 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/2.11, allocations: 93.35 MB / 1.888 GB, free: 15.46 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.99/21.1, allocations: 14.7 kB / 1.888 GB, free: 15.45 MB / 1.467 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: 28.503713955986314]