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.001433/0.001433, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002001/0.002001, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.969 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.159/3.159, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001944/0.001944, allocations: 67.48 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3518, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.121/1.472, allocations: 300.8 MB / 1.647 GB, free: 3.984 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02306/1.495, allocations: 17.25 MB / 1.663 GB, free: 3.875 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/1.5, allocations: 109.2 kB / 1.664 GB, free: 3.875 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005141/1.505, allocations: 1.996 MB / 1.665 GB, free: 3.832 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0173/1.522, allocations: 6.841 MB / 1.672 GB, free: 3.562 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008191/1.53, allocations: 3.044 MB / 1.675 GB, free: 3.465 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01238/1.543, allocations: 7.91 MB / 1.683 GB, free: 3.449 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/1.546, allocations: 1.982 MB / 1.685 GB, free: 3.273 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007077/1.553, allocations: 3.15 MB / 1.688 GB, free: 3.273 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006072/1.559, allocations: 2.864 MB / 1.691 GB, free: 3.098 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0008657/1.56, allocations: 330.5 kB / 1.691 GB, free: 3.098 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01441/1.575, allocations: 6.698 MB / 1.698 GB, free: 3.035 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002456/1.577, allocations: 1.359 MB / 1.699 GB, free: 2.875 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003781/1.581, allocations: 1.891 MB / 1.701 GB, free: 2.406 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01467/1.596, allocations: 6.964 MB / 1.707 GB, free: 1.629 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.596, allocations: 0.9688 kB / 1.707 GB, free: 1.629 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.062e-06/1.596, allocations: 1.812 kB / 1.707 GB, free: 1.629 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000133/1.596, allocations: 0 / 1.707 GB, free: 1.629 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.01276/1.608, allocations: 4.139 MB / 1.712 GB, free: 15.96 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.609, allocations: 11.41 kB / 1.712 GB, free: 15.96 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006117/1.609, allocations: 380.9 kB / 1.712 GB, free: 15.91 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/1.622, allocations: 1.59 MB / 1.713 GB, free: 15.7 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/1.627, allocations: 1.853 MB / 1.715 GB, free: 15.22 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/1.627, allocations: 203.3 kB / 1.715 GB, free: 15.21 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/1.628, allocations: 263.6 kB / 1.716 GB, free: 15.2 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007301/1.635, allocations: 3.858 MB / 1.719 GB, free: 14.9 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.193e-05/1.635, allocations: 8.359 kB / 1.719 GB, free: 14.89 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/1.636, allocations: 109 kB / 1.72 GB, free: 14.89 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/1.636, allocations: 156.5 kB / 1.72 GB, free: 14.89 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007998/1.644, allocations: 4.295 MB / 1.724 GB, free: 14.85 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.02417/1.668, allocations: 13.3 MB / 1.737 GB, free: 6.27 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008095/1.676, allocations: 3.574 MB / 1.74 GB, free: 4.383 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00439/1.681, allocations: 2.005 MB / 1.742 GB, free: 3.395 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/1.681, allocations: 51.47 kB / 1.742 GB, free: 3.383 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.597e-05/1.681, allocations: 67.75 kB / 1.742 GB, free: 3.316 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.32e-06/1.681, allocations: 0 / 1.742 GB, free: 3.316 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.0134/1.694, allocations: 4.793 MB / 1.747 GB, free: 0.9219 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/1.694, allocations: 77.5 kB / 1.747 GB, free: 0.8555 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/1.698, allocations: 1.421 MB / 1.749 GB, free: 92 kB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0009464/1.699, allocations: 74.8 kB / 1.749 GB, free: 24 kB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.701, allocations: 1.047 MB / 1.75 GB, free: 15.1 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.002307/1.703, allocations: 0.9926 MB / 1.751 GB, free: 14.23 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/1.705, allocations: 454.1 kB / 1.751 GB, free: 13.98 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.705, allocations: 305.1 kB / 1.751 GB, free: 13.68 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/1.708, allocations: 1.471 MB / 1.753 GB, free: 12.93 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/1.712, allocations: 1.758 MB / 1.755 GB, free: 11.92 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006981/1.719, allocations: 3.324 MB / 1.758 GB, free: 10.09 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/1.719, allocations: 3 kB / 1.758 GB, free: 10.09 MB / 1.326 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008489/1.728, allocations: 3.762 MB / 1.761 GB, free: 8.203 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.728, allocations: 7.969 kB / 1.762 GB, free: 8.203 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.728, allocations: 2.906 kB / 1.762 GB, free: 8.203 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/1.728, allocations: 22.09 kB / 1.762 GB, free: 8.199 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/1.732, allocations: 0.6167 MB / 1.762 GB, free: 8.078 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.654e-05/1.732, allocations: 24.47 kB / 1.762 GB, free: 8.074 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.735, allocations: 277.2 kB / 1.762 GB, free: 7.883 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/1.736, allocations: 92 kB / 1.763 GB, free: 7.855 MB / 1.326 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.00187/1.738, allocations: 0.6544 MB / 1.763 GB, free: 7.434 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009828/1.739, allocations: 238.5 kB / 1.763 GB, free: 7.312 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/1.74, allocations: 343.1 kB / 1.764 GB, free: 7.023 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.74, allocations: 25.22 kB / 1.764 GB, free: 7.023 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.99e-05/1.74, allocations: 6.969 kB / 1.764 GB, free: 7.02 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006745/1.746, allocations: 3.248 MB / 1.767 GB, free: 4.926 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.763, allocations: 7.231 MB / 1.774 GB, free: 13.68 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/1.763, allocations: 3.938 kB / 1.774 GB, free: 13.67 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004237/1.767, allocations: 0.6182 MB / 1.775 GB, free: 13.08 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.292e-05/1.767, allocations: 8 kB / 1.775 GB, free: 13.07 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004721/1.768, allocations: 67.97 kB / 1.775 GB, free: 13 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.228e-05/1.768, allocations: 8 kB / 1.775 GB, free: 13 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.768, allocations: 4 kB / 1.775 GB, free: 12.99 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/1.78, allocations: 5.611 MB / 1.78 GB, free: 7.301 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.782, allocations: 0.6069 MB / 1.781 GB, free: 6.691 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007525/1.783, allocations: 51.98 kB / 1.781 GB, free: 6.641 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/1.786, allocations: 130.7 kB / 1.781 GB, free: 6.516 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000477/1.787, allocations: 165.8 kB / 1.781 GB, free: 6.352 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/1.787, allocations: 87.95 kB / 1.781 GB, free: 6.266 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.002101/1.789, allocations: 0.9584 MB / 1.782 GB, free: 5.312 MB / 1.342 GB Notification: Performance of sort global known variables: time 7e-08/1.789, allocations: 0 / 1.782 GB, free: 5.312 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.003608/1.793, allocations: 1.03 MB / 1.783 GB, free: 4.281 MB / 1.342 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.01262/1.805, allocations: 6.403 MB / 1.789 GB, free: 13.82 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.008134/1.813, allocations: 3.335 MB / 1.793 GB, free: 10.5 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.813, allocations: 0 / 1.793 GB, free: 10.5 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/1.817, allocations: 1.71 MB / 1.794 GB, free: 8.84 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007962/1.825, allocations: 1.36 MB / 1.796 GB, free: 7.504 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04993/1.875, allocations: 22.07 MB / 1.817 GB, free: 1.148 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/1.877, allocations: 1.91 MB / 1.819 GB, free: 15.2 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.004288/1.881, allocations: 0.9458 MB / 1.82 GB, free: 14.25 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.884, allocations: 1.112 MB / 1.821 GB, free: 13.14 MB / 1.389 GB Notification: Performance of SimCode: time 1.302e-06/1.884, allocations: 0 / 1.821 GB, free: 13.14 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/2.033, allocations: 77.07 MB / 1.896 GB, free: 0.7891 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.79/18.82, allocations: 6.25 kB / 1.896 GB, free: 0.7852 MB / 1.451 GB " [Timeout remaining time 281] (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: 25.837662519188598]