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.001596/0.001596, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002681/0.002681, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8.051 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.034/3.034, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",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.001909/0.001909, allocations: 76.8 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3205, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.097/1.417, allocations: 320 MB / 1.638 GB, free: 4.09 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02588/1.443, allocations: 18.56 MB / 1.657 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004503/1.447, allocations: 117.5 kB / 1.657 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005472/1.453, allocations: 2.264 MB / 1.659 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01994/1.473, allocations: 7.704 MB / 1.666 GB, free: 3.668 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009339/1.482, allocations: 3.335 MB / 1.67 GB, free: 3.566 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01256/1.495, allocations: 9.261 MB / 1.679 GB, free: 3.547 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006214/1.501, allocations: 2.395 MB / 1.681 GB, free: 19.35 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008954/1.51, allocations: 3.759 MB / 1.685 GB, free: 19.34 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007715/1.518, allocations: 3.391 MB / 1.688 GB, free: 19.25 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001728/1.519, allocations: 403.2 kB / 1.688 GB, free: 19.25 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/1.535, allocations: 7.536 MB / 1.696 GB, free: 19.18 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002979/1.538, allocations: 1.684 MB / 1.697 GB, free: 18.99 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.005777/1.544, allocations: 2.289 MB / 1.7 GB, free: 18.42 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/1.563, allocations: 8.201 MB / 1.708 GB, free: 17.48 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.563, allocations: 1.812 kB / 1.708 GB, free: 17.48 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.412e-06/1.563, allocations: 0 / 1.708 GB, free: 17.48 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002439/1.563, allocations: 5.062 kB / 1.708 GB, free: 17.48 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.579, allocations: 4.963 MB / 1.712 GB, free: 15.55 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.579, allocations: 11.84 kB / 1.713 GB, free: 15.55 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001704/1.581, allocations: 481.4 kB / 1.713 GB, free: 15.48 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007476/1.588, allocations: 1.024 MB / 1.714 GB, free: 15.25 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005755/1.594, allocations: 2.098 MB / 1.716 GB, free: 14.71 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/1.594, allocations: 244.6 kB / 1.716 GB, free: 14.7 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/1.596, allocations: 321 kB / 1.717 GB, free: 14.7 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/1.609, allocations: 4.402 MB / 1.721 GB, free: 14.4 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/1.609, allocations: 13.73 kB / 1.721 GB, free: 14.39 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/1.61, allocations: 138.5 kB / 1.721 GB, free: 14.39 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002948/1.611, allocations: 209.7 kB / 1.721 GB, free: 14.38 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009894/1.621, allocations: 5.053 MB / 1.726 GB, free: 14.35 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.02748/1.648, allocations: 14.96 MB / 1.741 GB, free: 4.469 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/1.656, allocations: 4.255 MB / 1.745 GB, free: 2.148 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004205/1.66, allocations: 2.242 MB / 1.747 GB, free: 1.043 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/1.661, allocations: 274 kB / 1.747 GB, free: 0.9609 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.991e-05/1.661, allocations: 76.08 kB / 1.747 GB, free: 0.8906 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 8.636e-06/1.661, allocations: 0 / 1.747 GB, free: 0.8906 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.01132/1.673, allocations: 5.542 MB / 1.753 GB, free: 14.21 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/1.673, allocations: 91.45 kB / 1.753 GB, free: 14.14 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/1.676, allocations: 1.724 MB / 1.755 GB, free: 13.19 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0005383/1.676, allocations: 95.61 kB / 1.755 GB, free: 13.1 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.677, allocations: 1.242 MB / 1.756 GB, free: 12.01 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.679, allocations: 1.396 MB / 1.757 GB, free: 10.8 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001682/1.681, allocations: 0.6135 MB / 1.758 GB, free: 10.46 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.681, allocations: 306.8 kB / 1.758 GB, free: 10.16 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/1.684, allocations: 1.659 MB / 1.76 GB, free: 9.328 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/1.687, allocations: 2.041 MB / 1.762 GB, free: 8.172 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006665/1.694, allocations: 3.923 MB / 1.766 GB, free: 5.297 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/1.694, allocations: 4 kB / 1.766 GB, free: 5.293 MB / 1.326 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008781/1.703, allocations: 4.449 MB / 1.77 GB, free: 0.8555 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.703, allocations: 14.47 kB / 1.77 GB, free: 0.8438 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.703, allocations: 8 kB / 1.77 GB, free: 0.8359 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.426e-05/1.703, allocations: 24 kB / 1.77 GB, free: 0.8125 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/1.706, allocations: 0.7556 MB / 1.771 GB, free: 104 kB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.67e-05/1.706, allocations: 22.53 kB / 1.771 GB, free: 84 kB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/1.71, allocations: 305.8 kB / 1.771 GB, free: 15.78 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005047/1.71, allocations: 128 kB / 1.771 GB, free: 15.65 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.002192/1.712, allocations: 0.8117 MB / 1.772 GB, free: 14.88 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.713, allocations: 306.1 kB / 1.772 GB, free: 14.58 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009153/1.723, allocations: 4.43 MB / 1.777 GB, free: 10.12 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/1.723, allocations: 39.98 kB / 1.777 GB, free: 10.08 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/1.723, allocations: 0 / 1.777 GB, free: 10.08 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006655/1.729, allocations: 3.793 MB / 1.78 GB, free: 6.223 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/1.747, allocations: 8.556 MB / 1.789 GB, free: 13.64 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.747, allocations: 4.312 kB / 1.789 GB, free: 13.64 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/1.751, allocations: 0.7206 MB / 1.789 GB, free: 12.96 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.444e-05/1.751, allocations: 16 kB / 1.789 GB, free: 12.94 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/1.751, allocations: 87.97 kB / 1.789 GB, free: 12.86 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/1.751, allocations: 16 kB / 1.79 GB, free: 12.84 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.751, allocations: 6.531 kB / 1.79 GB, free: 12.84 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.762, allocations: 6.588 MB / 1.796 GB, free: 6.156 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002447/1.765, allocations: 0.7275 MB / 1.797 GB, free: 5.426 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008001/1.766, allocations: 75.98 kB / 1.797 GB, free: 5.352 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/1.768, allocations: 91.31 kB / 1.797 GB, free: 5.266 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005298/1.769, allocations: 253.1 kB / 1.797 GB, free: 5.02 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000331/1.769, allocations: 112 kB / 1.797 GB, free: 4.91 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.00217/1.771, allocations: 1.157 MB / 1.798 GB, free: 3.73 MB / 1.357 GB Notification: Performance of sort global known variables: time 8.1e-08/1.771, allocations: 0 / 1.798 GB, free: 3.73 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.003718/1.775, allocations: 1.268 MB / 1.8 GB, free: 2.461 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.01228/1.787, allocations: 7.493 MB / 1.807 GB, free: 10.93 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.007043/1.794, allocations: 3.855 MB / 1.811 GB, free: 7.121 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.794, allocations: 5.312 kB / 1.811 GB, free: 7.117 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003253/1.797, allocations: 1.981 MB / 1.813 GB, free: 5.215 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007685/1.805, allocations: 1.608 MB / 1.814 GB, free: 3.637 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04766/1.853, allocations: 26.11 MB / 1.84 GB, free: 9.273 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/1.855, allocations: 2.213 MB / 1.842 GB, free: 7.023 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.00456/1.86, allocations: 1.271 MB / 1.843 GB, free: 5.746 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/1.863, allocations: 1.386 MB / 1.844 GB, free: 4.359 MB / 1.404 GB Notification: Performance of SimCode: time 1.192e-06/1.863, allocations: 4 kB / 1.844 GB, free: 4.355 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1619/2.025, allocations: 89.2 MB / 1.931 GB, free: 12.15 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/19.33, allocations: 0 / 1.931 GB, free: 12.15 MB / 1.498 GB " [Timeout remaining time 281] (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: 26.035806505009532]