Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001749/0.001749, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00236/0.00236, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.399/3.399, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_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.002092/0.002092, allocations: 68.58 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.089/1.421, allocations: 263 MB / 1.62 GB, free: 4.512 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.025/1.446, allocations: 16.05 MB / 1.636 GB, free: 4.48 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003986/1.45, allocations: 106.2 kB / 1.636 GB, free: 4.48 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005157/1.455, allocations: 1.794 MB / 1.638 GB, free: 4.441 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01805/1.473, allocations: 6.804 MB / 1.644 GB, free: 4.191 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008299/1.482, allocations: 3.01 MB / 1.647 GB, free: 4.113 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01095/1.493, allocations: 7.853 MB / 1.655 GB, free: 4.098 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004147/1.497, allocations: 1.955 MB / 1.657 GB, free: 3.926 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007106/1.504, allocations: 3.17 MB / 1.66 GB, free: 3.926 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006386/1.51, allocations: 2.735 MB / 1.663 GB, free: 3.922 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001585/1.512, allocations: 330.6 kB / 1.663 GB, free: 3.922 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/1.525, allocations: 5.081 MB / 1.668 GB, free: 3.859 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002946/1.528, allocations: 1.357 MB / 1.669 GB, free: 3.859 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006365/1.534, allocations: 1.603 MB / 1.671 GB, free: 3.648 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01527/1.55, allocations: 6.779 MB / 1.677 GB, free: 2.863 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.55, allocations: 0.8125 kB / 1.677 GB, free: 2.863 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.663e-06/1.55, allocations: 3 kB / 1.677 GB, free: 2.863 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001629/1.55, allocations: 0 / 1.677 GB, free: 2.863 MB / 1.295 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.01226/1.562, allocations: 4.13 MB / 1.681 GB, free: 1.203 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.562, allocations: 8.938 kB / 1.681 GB, free: 1.203 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000748/1.563, allocations: 382.7 kB / 1.682 GB, free: 1.152 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/1.575, allocations: 1.584 MB / 1.683 GB, free: 0.9688 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/1.58, allocations: 1.861 MB / 1.685 GB, free: 500 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/1.58, allocations: 205.3 kB / 1.685 GB, free: 492 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000868/1.581, allocations: 259.5 kB / 1.686 GB, free: 488 kB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008587/1.59, allocations: 4.254 MB / 1.69 GB, free: 15.69 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.439e-05/1.59, allocations: 6.562 kB / 1.69 GB, free: 15.69 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/1.59, allocations: 109.4 kB / 1.69 GB, free: 15.69 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/1.59, allocations: 153.8 kB / 1.69 GB, free: 15.68 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008321/1.599, allocations: 4.259 MB / 1.694 GB, free: 15.65 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.0202/1.619, allocations: 9.067 MB / 1.703 GB, free: 13.36 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006779/1.626, allocations: 3.56 MB / 1.707 GB, free: 13.26 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/1.63, allocations: 2.002 MB / 1.709 GB, free: 13.21 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/1.63, allocations: 48.47 kB / 1.709 GB, free: 13.21 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.389e-05/1.63, allocations: 66.03 kB / 1.709 GB, free: 13.16 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.07e-06/1.63, allocations: 0 / 1.709 GB, free: 13.16 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.01016/1.64, allocations: 4.788 MB / 1.713 GB, free: 12.07 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/1.64, allocations: 81.66 kB / 1.713 GB, free: 12 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/1.642, allocations: 1.42 MB / 1.715 GB, free: 11.46 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003168/1.643, allocations: 77.42 kB / 1.715 GB, free: 11.39 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/1.644, allocations: 1.053 MB / 1.716 GB, free: 10.57 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.645, allocations: 0.9925 MB / 1.717 GB, free: 9.785 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008825/1.646, allocations: 451.1 kB / 1.717 GB, free: 9.586 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.646, allocations: 308.3 kB / 1.718 GB, free: 9.285 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/1.649, allocations: 1.478 MB / 1.719 GB, free: 8.754 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/1.652, allocations: 1.756 MB / 1.721 GB, free: 8.004 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006451/1.659, allocations: 3.322 MB / 1.724 GB, free: 6.496 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.659, allocations: 1.688 kB / 1.724 GB, free: 6.496 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007911/1.666, allocations: 3.769 MB / 1.728 GB, free: 5.02 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.667, allocations: 5.75 kB / 1.728 GB, free: 5.02 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.667, allocations: 9.031 kB / 1.728 GB, free: 5.016 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/1.667, allocations: 14.59 kB / 1.728 GB, free: 5.016 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/1.67, allocations: 0.6194 MB / 1.728 GB, free: 4.992 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.115e-05/1.67, allocations: 16 kB / 1.728 GB, free: 4.992 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/1.674, allocations: 282.4 kB / 1.729 GB, free: 4.828 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003525/1.674, allocations: 94.75 kB / 1.729 GB, free: 4.805 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.001587/1.676, allocations: 0.6488 MB / 1.729 GB, free: 4.453 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/1.676, allocations: 242.6 kB / 1.73 GB, free: 4.328 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008883/1.677, allocations: 343.2 kB / 1.73 GB, free: 4.062 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.677, allocations: 24.97 kB / 1.73 GB, free: 4.062 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-05/1.677, allocations: 0 / 1.73 GB, free: 4.062 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006708/1.684, allocations: 3.244 MB / 1.733 GB, free: 2.75 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.699, allocations: 6.657 MB / 1.74 GB, free: 15.81 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.699, allocations: 3.938 kB / 1.74 GB, free: 15.81 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003758/1.703, allocations: 0.6165 MB / 1.74 GB, free: 15.68 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.844e-05/1.703, allocations: 12.59 kB / 1.74 GB, free: 15.68 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003231/1.703, allocations: 71.36 kB / 1.74 GB, free: 15.63 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/1.703, allocations: 7.875 kB / 1.74 GB, free: 15.63 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.703, allocations: 0 / 1.74 GB, free: 15.63 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.714, allocations: 5.619 MB / 1.746 GB, free: 12.66 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/1.717, allocations: 0.5993 MB / 1.746 GB, free: 12.24 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/1.717, allocations: 51.16 kB / 1.746 GB, free: 12.2 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/1.72, allocations: 138.5 kB / 1.746 GB, free: 12.12 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/1.72, allocations: 167 kB / 1.747 GB, free: 12.02 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/1.721, allocations: 87.11 kB / 1.747 GB, free: 11.98 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.00151/1.722, allocations: 0.9554 MB / 1.748 GB, free: 11.47 MB / 1.326 GB Notification: Performance of sort global known variables: time 8.1e-08/1.722, allocations: 0 / 1.748 GB, free: 11.47 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002724/1.725, allocations: 1.029 MB / 1.749 GB, free: 11.28 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.01155/1.736, allocations: 6.402 MB / 1.755 GB, free: 7.688 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.007371/1.744, allocations: 3.328 MB / 1.758 GB, free: 6.145 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.744, allocations: 3.938 kB / 1.758 GB, free: 6.141 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/1.747, allocations: 1.713 MB / 1.76 GB, free: 4.984 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007451/1.755, allocations: 1.366 MB / 1.761 GB, free: 3.652 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04755/1.802, allocations: 22.08 MB / 1.783 GB, free: 13.3 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/1.804, allocations: 1.338 MB / 1.784 GB, free: 11.92 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.004214/1.808, allocations: 0.9458 MB / 1.785 GB, free: 10.97 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/1.811, allocations: 1.108 MB / 1.786 GB, free: 9.859 MB / 1.357 GB Notification: Performance of SimCode: time 9.92e-07/1.811, allocations: 0 / 1.786 GB, free: 9.859 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/1.963, allocations: 82.01 MB / 1.866 GB, free: 9.188 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/17.1, allocations: 15.86 kB / 1.866 GB, free: 9.172 MB / 1.436 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.39231553301215]