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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01393/0.01393, allocations: 104.6 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 189.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.023/3.023, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 64.12 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3475, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.026/1.374, allocations: 295.1 MB / 1.495 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02717/1.401, allocations: 17.01 MB / 1.512 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/1.405, allocations: 83.62 kB / 1.512 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005654/1.411, allocations: 1.888 MB / 1.514 GB, free: 12.73 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01733/1.429, allocations: 6.432 MB / 1.52 GB, free: 6.27 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008837/1.437, allocations: 2.946 MB / 1.523 GB, free: 3.324 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01025/1.448, allocations: 7.719 MB / 1.531 GB, free: 11.58 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/1.452, allocations: 2.584 MB / 1.533 GB, free: 8.953 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006717/1.459, allocations: 2.811 MB / 1.536 GB, free: 6.133 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006677/1.466, allocations: 2.698 MB / 1.539 GB, free: 3.438 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001792/1.468, allocations: 328 kB / 1.539 GB, free: 3.117 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/1.482, allocations: 6.169 MB / 1.545 GB, free: 12.93 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002334/1.484, allocations: 1.332 MB / 1.546 GB, free: 11.6 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004766/1.489, allocations: 1.89 MB / 1.548 GB, free: 9.699 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/1.505, allocations: 6.88 MB / 1.555 GB, free: 2.801 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.505, allocations: 0 / 1.555 GB, free: 2.801 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.014e-06/1.505, allocations: 3.938 kB / 1.555 GB, free: 2.797 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002/1.505, allocations: 4 kB / 1.555 GB, free: 2.793 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01317/1.518, allocations: 4.131 MB / 1.559 GB, free: 14.59 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/1.519, allocations: 8.625 kB / 1.559 GB, free: 14.59 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001123/1.52, allocations: 371 kB / 1.559 GB, free: 14.21 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006925/1.527, allocations: 0.9172 MB / 1.56 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004995/1.532, allocations: 1.92 MB / 1.562 GB, free: 11.32 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/1.532, allocations: 197.1 kB / 1.562 GB, free: 11.12 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007955/1.533, allocations: 259.9 kB / 1.562 GB, free: 10.87 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007604/1.54, allocations: 3.327 MB / 1.566 GB, free: 7.438 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.414e-05/1.54, allocations: 11.88 kB / 1.566 GB, free: 7.426 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/1.541, allocations: 115.9 kB / 1.566 GB, free: 7.312 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/1.541, allocations: 133.1 kB / 1.566 GB, free: 7.18 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006395/1.547, allocations: 3.502 MB / 1.569 GB, free: 3.664 MB / 1.248 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.564, allocations: 12.14 MB / 1.581 GB, free: 6.617 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004821/1.569, allocations: 3.51 MB / 1.585 GB, free: 3.031 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002908/1.572, allocations: 1.853 MB / 1.586 GB, free: 1.168 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/1.574, allocations: 1.489 MB / 1.588 GB, free: 15.36 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.031e-05/1.574, allocations: 64.75 kB / 1.588 GB, free: 15.29 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 6.542e-06/1.574, allocations: 0 / 1.588 GB, free: 15.29 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.006964/1.581, allocations: 3.885 MB / 1.592 GB, free: 11.36 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/1.581, allocations: 81.59 kB / 1.592 GB, free: 11.26 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/1.583, allocations: 1.379 MB / 1.593 GB, free: 9.875 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/1.583, allocations: 77.7 kB / 1.593 GB, free: 9.793 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007153/1.584, allocations: 0.9804 MB / 1.594 GB, free: 8.801 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000918/1.585, allocations: 0.947 MB / 1.595 GB, free: 7.84 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006732/1.586, allocations: 408.9 kB / 1.595 GB, free: 7.434 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.586, allocations: 305.1 kB / 1.596 GB, free: 7.133 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/1.588, allocations: 1.098 MB / 1.597 GB, free: 6.031 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/1.59, allocations: 1.355 MB / 1.598 GB, free: 4.609 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/1.593, allocations: 2.646 MB / 1.601 GB, free: 1.871 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.593, allocations: 0 / 1.601 GB, free: 1.871 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004957/1.598, allocations: 2.986 MB / 1.604 GB, free: 14.84 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.598, allocations: 4 kB / 1.604 GB, free: 14.84 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.598, allocations: 8 kB / 1.604 GB, free: 14.83 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/1.598, allocations: 15.94 kB / 1.604 GB, free: 14.81 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.6, allocations: 0.511 MB / 1.604 GB, free: 14.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.215e-05/1.601, allocations: 16 kB / 1.604 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.603, allocations: 178 kB / 1.604 GB, free: 14.11 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.603, allocations: 88.05 kB / 1.604 GB, free: 14.02 MB / 1.295 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 (311): * Single equations (assignments): 311 * 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.001178/1.604, allocations: 0.6416 MB / 1.605 GB, free: 13.37 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/1.605, allocations: 233.2 kB / 1.605 GB, free: 13.14 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/1.61, allocations: 3.117 MB / 1.608 GB, free: 9.969 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/1.61, allocations: 31.94 kB / 1.608 GB, free: 9.938 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.61, allocations: 0 / 1.608 GB, free: 9.938 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003755/1.614, allocations: 2.657 MB / 1.611 GB, free: 7.211 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.624, allocations: 6.213 MB / 1.617 GB, free: 0.8945 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.624, allocations: 0 / 1.617 GB, free: 0.8945 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.627, allocations: 0.5423 MB / 1.618 GB, free: 360 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.992e-05/1.627, allocations: 12 kB / 1.618 GB, free: 348 kB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/1.627, allocations: 55.98 kB / 1.618 GB, free: 292 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.802e-05/1.627, allocations: 15.98 kB / 1.618 GB, free: 276 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.627, allocations: 0 / 1.618 GB, free: 276 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007374/1.634, allocations: 4.569 MB / 1.622 GB, free: 11.61 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.636, allocations: 0.6109 MB / 1.623 GB, free: 10.98 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000582/1.637, allocations: 52 kB / 1.623 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.639, allocations: 63.97 kB / 1.623 GB, free: 10.87 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.639, allocations: 162 kB / 1.623 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/1.639, allocations: 87.97 kB / 1.623 GB, free: 10.62 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00177/1.641, allocations: 0.9423 MB / 1.624 GB, free: 9.684 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.5e-07/1.641, allocations: 0 / 1.624 GB, free: 9.684 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002773/1.644, allocations: 0.9862 MB / 1.625 GB, free: 8.695 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.007499/1.651, allocations: 5.387 MB / 1.63 GB, free: 3.215 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004292/1.656, allocations: 2.771 MB / 1.633 GB, free: 424 kB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.656, allocations: 0 / 1.633 GB, free: 424 kB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/1.658, allocations: 1.515 MB / 1.634 GB, free: 14.89 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005951/1.664, allocations: 1.342 MB / 1.636 GB, free: 13.58 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03234/1.696, allocations: 19.45 MB / 1.655 GB, free: 9.773 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/1.698, allocations: 1.891 MB / 1.657 GB, free: 7.848 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003114/1.702, allocations: 0.8436 MB / 1.657 GB, free: 7 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.703, allocations: 1.089 MB / 1.658 GB, free: 5.91 MB / 1.342 GB Notification: Performance of SimCode: time 6.81e-07/1.703, allocations: 0 / 1.658 GB, free: 5.91 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/1.811, allocations: 69.4 MB / 1.726 GB, free: 1.176 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.9, allocations: 11.17 kB / 1.726 GB, free: 1.172 MB / 1.404 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) 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) Reference file matches