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.001318/0.001318, allocations: 97.31 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.001474/0.001474, allocations: 217.9 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.448/1.448, 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.16/3.16, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_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.001985/0.001985, allocations: 65.25 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3274/0.7005, allocations: 262.7 MB / 1.583 GB, free: 9.828 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02804/0.7286, allocations: 15.87 MB / 1.599 GB, free: 9.926 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003926/0.7325, allocations: 107.2 kB / 1.599 GB, free: 9.82 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006668/0.7392, allocations: 1.787 MB / 1.601 GB, free: 8.023 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02253/0.7617, allocations: 6.745 MB / 1.607 GB, free: 1.254 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.8284/1.59, allocations: 3.015 MB / 1.61 GB, free: 8.598 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01177/1.602, allocations: 7.85 MB / 1.618 GB, free: 8.586 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004241/1.606, allocations: 1.961 MB / 1.62 GB, free: 24.42 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01297/1.619, allocations: 3.15 MB / 1.623 GB, free: 24.42 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/1.63, allocations: 2.843 MB / 1.625 GB, free: 24.42 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001921/1.632, allocations: 327.1 kB / 1.626 GB, free: 24.42 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/1.647, allocations: 5.095 MB / 1.631 GB, free: 24.42 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003849/1.65, allocations: 1.347 MB / 1.632 GB, free: 24.42 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.00518/1.656, allocations: 1.582 MB / 1.634 GB, free: 24.42 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01774/1.673, allocations: 6.721 MB / 1.64 GB, free: 24.02 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.673, allocations: 1.25 kB / 1.64 GB, free: 24.02 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.614e-06/1.673, allocations: 0.9375 kB / 1.64 GB, free: 24.02 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001759/1.674, allocations: 0 / 1.64 GB, free: 24.02 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.01369/1.687, allocations: 4.118 MB / 1.644 GB, free: 22.37 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.687, allocations: 8.75 kB / 1.644 GB, free: 22.37 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.937e-05/1.687, allocations: 69.39 kB / 1.644 GB, free: 22.36 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000531/1.688, allocations: 381.4 kB / 1.645 GB, free: 22.31 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006477/1.694, allocations: 0.9308 MB / 1.646 GB, free: 22.13 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004027/1.698, allocations: 1.803 MB / 1.647 GB, free: 21.65 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.699, allocations: 194.2 kB / 1.648 GB, free: 21.64 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003989/1.699, allocations: 266 kB / 1.648 GB, free: 21.64 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005593/1.704, allocations: 3.819 MB / 1.651 GB, free: 20.85 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/1.705, allocations: 6.469 kB / 1.651 GB, free: 20.85 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/1.705, allocations: 109.7 kB / 1.652 GB, free: 20.85 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/1.705, allocations: 156 kB / 1.652 GB, free: 20.84 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005195/1.71, allocations: 3.638 MB / 1.655 GB, free: 20.81 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.01479/1.725, allocations: 8.329 MB / 1.663 GB, free: 18.69 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/1.729, allocations: 2.936 MB / 1.666 GB, free: 18.59 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.731, allocations: 1.699 MB / 1.668 GB, free: 18.56 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009092/1.732, allocations: 219.8 kB / 1.668 GB, free: 18.55 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.385e-05/1.732, allocations: 63.78 kB / 1.668 GB, free: 18.51 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.361e-06/1.732, allocations: 0.7812 kB / 1.668 GB, free: 18.51 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.005952/1.738, allocations: 3.895 MB / 1.672 GB, free: 18.25 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.738, allocations: 84.73 kB / 1.672 GB, free: 18.18 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/1.74, allocations: 1.391 MB / 1.673 GB, free: 18.02 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002475/1.74, allocations: 76.3 kB / 1.674 GB, free: 17.98 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/1.741, allocations: 1.048 MB / 1.675 GB, free: 17.53 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007813/1.742, allocations: 0.9923 MB / 1.676 GB, free: 16.87 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006398/1.742, allocations: 436.6 kB / 1.676 GB, free: 16.84 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.743, allocations: 305.2 kB / 1.676 GB, free: 16.55 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/1.744, allocations: 1.148 MB / 1.677 GB, free: 16.54 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/1.746, allocations: 1.424 MB / 1.679 GB, free: 16.35 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/1.75, allocations: 2.728 MB / 1.681 GB, free: 16.12 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/1.75, allocations: 0 / 1.681 GB, free: 16.12 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004917/1.755, allocations: 3.119 MB / 1.684 GB, free: 15.88 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.755, allocations: 5.188 kB / 1.684 GB, free: 15.88 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.755, allocations: 7.344 kB / 1.684 GB, free: 15.88 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/1.755, allocations: 17.31 kB / 1.684 GB, free: 15.88 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/1.757, allocations: 0.5428 MB / 1.685 GB, free: 15.88 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/1.757, allocations: 18.91 kB / 1.685 GB, free: 15.88 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.759, allocations: 207.6 kB / 1.685 GB, free: 15.76 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/1.76, allocations: 92 kB / 1.685 GB, free: 15.76 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.001287/1.761, allocations: 0.6456 MB / 1.686 GB, free: 15.64 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/1.761, allocations: 247.2 kB / 1.686 GB, free: 15.52 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/1.766, allocations: 3.106 MB / 1.689 GB, free: 15.34 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.766, allocations: 26.97 kB / 1.689 GB, free: 15.34 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.766, allocations: 0.6875 kB / 1.689 GB, free: 15.34 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003525/1.77, allocations: 2.656 MB / 1.692 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009072/1.779, allocations: 5.734 MB / 1.697 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.779, allocations: 0 / 1.697 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.781, allocations: 0.5453 MB / 1.698 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/1.781, allocations: 12.86 kB / 1.698 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/1.781, allocations: 59.19 kB / 1.698 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/1.782, allocations: 15.88 kB / 1.698 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/1.782, allocations: 0.9375 kB / 1.698 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005965/1.787, allocations: 4.59 MB / 1.703 GB, free: 14.19 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.789, allocations: 0.5457 MB / 1.703 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/1.79, allocations: 51.02 kB / 1.703 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.791, allocations: 62.27 kB / 1.703 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/1.792, allocations: 173.7 kB / 1.703 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.792, allocations: 91.94 kB / 1.703 GB, free: 14.02 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001212/1.793, allocations: 0.944 MB / 1.704 GB, free: 13.91 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.793, allocations: 0 / 1.704 GB, free: 13.91 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002622/1.796, allocations: 1.001 MB / 1.705 GB, free: 13.79 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.006929/1.802, allocations: 5.406 MB / 1.711 GB, free: 12.83 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004048/1.807, allocations: 2.682 MB / 1.713 GB, free: 12.76 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.807, allocations: 3.469 kB / 1.713 GB, free: 12.76 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.808, allocations: 1.396 MB / 1.715 GB, free: 12.74 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006059/1.814, allocations: 1.346 MB / 1.716 GB, free: 12.57 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/1.846, allocations: 19.69 MB / 1.735 GB, free: 3.922 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.847, allocations: 1.339 MB / 1.736 GB, free: 3.609 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00305/1.85, allocations: 0.8741 MB / 1.737 GB, free: 3.441 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/1.852, allocations: 1.091 MB / 1.738 GB, free: 2.613 MB / 1.311 GB Notification: Performance of SimCode: time 1.182e-06/1.852, allocations: 0 / 1.738 GB, free: 2.613 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.981, allocations: 74.6 MB / 1.811 GB, free: 14.62 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/18.56, allocations: 9.812 kB / 1.811 GB, free: 14.62 MB / 1.389 GB " [Timeout remaining time 281] (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: 25.77258330292534]