Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001661/0.001661, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001941/0.001941, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.385/1.385, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.007/3.007, allocations: 0.49 GB / 0.7916 GB, free: 33.42 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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.002026/0.002026, allocations: 70.95 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.058/1.406, allocations: 299.6 MB / 1.613 GB, free: 3.895 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02275/1.429, allocations: 17.06 MB / 1.63 GB, free: 3.871 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/1.432, allocations: 106 kB / 1.63 GB, free: 3.871 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005371/1.438, allocations: 1.997 MB / 1.632 GB, free: 3.836 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01712/1.455, allocations: 6.63 MB / 1.639 GB, free: 3.59 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.007747/1.463, allocations: 2.982 MB / 1.641 GB, free: 3.516 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01074/1.473, allocations: 7.715 MB / 1.649 GB, free: 3.496 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003828/1.477, allocations: 2.157 MB / 1.651 GB, free: 19.32 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006874/1.484, allocations: 3.13 MB / 1.654 GB, free: 19.32 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006539/1.491, allocations: 2.835 MB / 1.657 GB, free: 19.31 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.0009433/1.492, allocations: 326.2 kB / 1.657 GB, free: 19.31 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/1.505, allocations: 6.534 MB / 1.664 GB, free: 19.25 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002238/1.507, allocations: 1.345 MB / 1.665 GB, free: 19.25 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.003611/1.511, allocations: 1.876 MB / 1.667 GB, free: 18.95 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0142/1.525, allocations: 6.908 MB / 1.673 GB, free: 18.18 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/1.525, allocations: 4.656 kB / 1.673 GB, free: 18.18 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.234e-06/1.525, allocations: 0 / 1.673 GB, free: 18.18 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001376/1.525, allocations: 0 / 1.673 GB, free: 18.18 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.01112/1.536, allocations: 4.197 MB / 1.678 GB, free: 16.43 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.536, allocations: 14.83 kB / 1.678 GB, free: 16.43 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000518/1.537, allocations: 373.1 kB / 1.678 GB, free: 16.38 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006642/1.543, allocations: 0.9309 MB / 1.679 GB, free: 16.19 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/1.548, allocations: 1.903 MB / 1.681 GB, free: 15.66 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/1.548, allocations: 196.9 kB / 1.681 GB, free: 15.66 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005487/1.548, allocations: 262.8 kB / 1.681 GB, free: 15.65 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/1.554, allocations: 3.409 MB / 1.684 GB, free: 15.36 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-05/1.554, allocations: 8.688 kB / 1.684 GB, free: 15.36 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/1.554, allocations: 112.8 kB / 1.685 GB, free: 15.36 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/1.554, allocations: 157.1 kB / 1.685 GB, free: 15.36 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/1.56, allocations: 3.633 MB / 1.688 GB, free: 15.32 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.01687/1.576, allocations: 12.56 MB / 1.701 GB, free: 9.047 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/1.581, allocations: 3.314 MB / 1.704 GB, free: 8.469 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/1.583, allocations: 1.704 MB / 1.705 GB, free: 8.426 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/1.585, allocations: 1.491 MB / 1.707 GB, free: 6.82 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.585, allocations: 62.94 kB / 1.707 GB, free: 6.777 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 4.097e-06/1.585, allocations: 0 / 1.707 GB, free: 6.777 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.006177/1.591, allocations: 3.897 MB / 1.711 GB, free: 6.516 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/1.591, allocations: 78.69 kB / 1.711 GB, free: 6.449 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/1.593, allocations: 1.406 MB / 1.712 GB, free: 6.27 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002312/1.594, allocations: 78.95 kB / 1.712 GB, free: 6.234 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007931/1.595, allocations: 1.034 MB / 1.713 GB, free: 5.789 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.596, allocations: 0.9986 MB / 1.714 GB, free: 5.125 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008057/1.596, allocations: 442.7 kB / 1.715 GB, free: 5.094 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.596, allocations: 310.7 kB / 1.715 GB, free: 4.793 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/1.598, allocations: 1.143 MB / 1.716 GB, free: 4.785 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.6, allocations: 1.417 MB / 1.718 GB, free: 4.598 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/1.604, allocations: 2.727 MB / 1.72 GB, free: 4.031 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/1.604, allocations: 3.719 kB / 1.72 GB, free: 4.031 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005537/1.61, allocations: 3.119 MB / 1.723 GB, free: 2.777 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.61, allocations: 4.969 kB / 1.723 GB, free: 2.777 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/1.61, allocations: 5.156 kB / 1.723 GB, free: 2.777 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-05/1.61, allocations: 18.83 kB / 1.723 GB, free: 2.773 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/1.612, allocations: 0.5432 MB / 1.724 GB, free: 2.75 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.325e-05/1.612, allocations: 16.12 kB / 1.724 GB, free: 2.75 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/1.615, allocations: 216.3 kB / 1.724 GB, free: 2.586 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/1.615, allocations: 90.5 kB / 1.724 GB, free: 2.562 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.001424/1.617, allocations: 0.6507 MB / 1.725 GB, free: 2.207 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/1.617, allocations: 241.6 kB / 1.725 GB, free: 2.086 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/1.623, allocations: 3.115 MB / 1.728 GB, free: 0.7539 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.623, allocations: 26.06 kB / 1.728 GB, free: 0.7539 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.623, allocations: 0 / 1.728 GB, free: 0.7539 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004007/1.627, allocations: 2.656 MB / 1.731 GB, free: 15.36 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.638, allocations: 6.212 MB / 1.737 GB, free: 11.64 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.638, allocations: 3.984 kB / 1.737 GB, free: 11.63 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.64, allocations: 0.5361 MB / 1.737 GB, free: 11.55 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.133e-05/1.64, allocations: 15.69 kB / 1.737 GB, free: 11.54 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/1.641, allocations: 68 kB / 1.737 GB, free: 11.5 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.14e-05/1.641, allocations: 11.88 kB / 1.737 GB, free: 11.49 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.641, allocations: 0 / 1.737 GB, free: 11.49 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007605/1.648, allocations: 4.585 MB / 1.742 GB, free: 9.062 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.65, allocations: 0.6292 MB / 1.742 GB, free: 8.582 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005653/1.651, allocations: 52.11 kB / 1.742 GB, free: 8.543 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.653, allocations: 61.72 kB / 1.743 GB, free: 8.504 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/1.653, allocations: 172.9 kB / 1.743 GB, free: 8.41 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.653, allocations: 76.02 kB / 1.743 GB, free: 8.391 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001637/1.655, allocations: 0.9443 MB / 1.744 GB, free: 7.879 MB / 1.326 GB Notification: Performance of sort global known variables: time 7e-08/1.655, allocations: 0 / 1.744 GB, free: 7.879 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002726/1.657, allocations: 1.006 MB / 1.745 GB, free: 7.559 MB / 1.326 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.008416/1.666, allocations: 5.391 MB / 1.75 GB, free: 2.121 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004822/1.671, allocations: 2.696 MB / 1.753 GB, free: 15.44 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.671, allocations: 3.938 kB / 1.753 GB, free: 15.43 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/1.673, allocations: 1.393 MB / 1.754 GB, free: 14.09 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006774/1.68, allocations: 1.359 MB / 1.755 GB, free: 12.76 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/1.717, allocations: 19.69 MB / 1.774 GB, free: 8.793 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/1.719, allocations: 1.895 MB / 1.776 GB, free: 6.859 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.003551/1.722, allocations: 0.8751 MB / 1.777 GB, free: 5.98 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/1.724, allocations: 1.093 MB / 1.778 GB, free: 4.887 MB / 1.357 GB Notification: Performance of SimCode: time 8.92e-07/1.724, allocations: 0 / 1.778 GB, free: 4.887 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.853, allocations: 68.8 MB / 1.845 GB, free: 0.9453 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.52, allocations: 3.938 kB / 1.845 GB, free: 0.9414 MB / 1.42 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.193475855048746]