Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ReverseBuoyancy,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.728/2.728, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002719, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9199/0.9226, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.258/2.18, allocations: 314.1 MB / 1.256 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02925/2.21, allocations: 18.46 MB / 1.274 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005114/2.215, allocations: 88.81 kB / 1.275 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005714/2.221, allocations: 2.155 MB / 1.277 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01989/2.241, allocations: 7.311 MB / 1.284 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00873/2.249, allocations: 3.202 MB / 1.287 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01663/2.266, allocations: 9.108 MB / 1.296 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00773/2.274, allocations: 3.103 MB / 1.299 GB, free: 17.46 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/2.285, allocations: 3.301 MB / 1.302 GB, free: 17.45 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/2.296, allocations: 3.238 MB / 1.305 GB, free: 17.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002843/2.299, allocations: 402 kB / 1.306 GB, free: 17.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/2.322, allocations: 7.001 MB / 1.312 GB, free: 17.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00461/2.326, allocations: 1.69 MB / 1.314 GB, free: 17.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009483/2.336, allocations: 2.299 MB / 1.316 GB, free: 16.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02826/2.364, allocations: 8.13 MB / 1.324 GB, free: 16.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/2.364, allocations: 4 kB / 1.324 GB, free: 16.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.975e-06/2.364, allocations: 2.688 kB / 1.324 GB, free: 16.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003663/2.365, allocations: 0 / 1.324 GB, free: 16.02 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.025/2.39, allocations: 4.993 MB / 1.329 GB, free: 14.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/2.39, allocations: 9.094 kB / 1.329 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001026/2.391, allocations: 463.5 kB / 1.33 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007059/2.398, allocations: 1.012 MB / 1.331 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005654/2.403, allocations: 2.156 MB / 1.333 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/2.404, allocations: 244.5 kB / 1.333 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/2.405, allocations: 328.3 kB / 1.333 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009741/2.415, allocations: 4.237 MB / 1.337 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.425e-05/2.415, allocations: 11.91 kB / 1.337 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/2.415, allocations: 134.6 kB / 1.338 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/2.416, allocations: 164.7 kB / 1.338 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/2.427, allocations: 4.787 MB / 1.342 GB, free: 12.87 MB / 1.014 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.02253/2.449, allocations: 14.53 MB / 1.357 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005859/2.455, allocations: 4.567 MB / 1.361 GB, free: 3.887 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/2.459, allocations: 2.456 MB / 1.363 GB, free: 3.262 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/2.46, allocations: 1.605 MB / 1.365 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/2.46, allocations: 78.41 kB / 1.365 GB, free: 1.422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 4.869e-06/2.46, allocations: 2.719 kB / 1.365 GB, free: 1.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.009102/2.47, allocations: 5.536 MB / 1.37 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/2.47, allocations: 90.48 kB / 1.371 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/2.472, allocations: 1.684 MB / 1.372 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/2.473, allocations: 93.7 kB / 1.372 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007681/2.473, allocations: 1.126 MB / 1.373 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/2.474, allocations: 1.326 MB / 1.375 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008319/2.475, allocations: 0.5468 MB / 1.375 GB, free: 9.574 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/2.475, allocations: 305.1 kB / 1.376 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/2.478, allocations: 1.564 MB / 1.377 GB, free: 7.707 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/2.48, allocations: 1.92 MB / 1.379 GB, free: 5.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005259/2.486, allocations: 3.766 MB / 1.383 GB, free: 1.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/2.486, allocations: 4 kB / 1.383 GB, free: 1.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006843/2.493, allocations: 4.177 MB / 1.387 GB, free: 13.71 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/2.493, allocations: 8 kB / 1.387 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/2.493, allocations: 4 kB / 1.387 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/2.493, allocations: 20 kB / 1.387 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/2.496, allocations: 0.6943 MB / 1.387 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.548e-05/2.496, allocations: 23.92 kB / 1.387 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/2.499, allocations: 261.3 kB / 1.388 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/2.499, allocations: 116 kB / 1.388 GB, free: 12.64 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001893/2.501, allocations: 0.8015 MB / 1.389 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/2.502, allocations: 288.5 kB / 1.389 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007962/2.51, allocations: 4.435 MB / 1.393 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/2.51, allocations: 36 kB / 1.393 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/2.51, allocations: 0 / 1.393 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005939/2.516, allocations: 3.798 MB / 1.397 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/2.533, allocations: 8.65 MB / 1.405 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/2.533, allocations: 0 / 1.405 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003396/2.537, allocations: 0.7244 MB / 1.406 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.626e-05/2.537, allocations: 16.19 kB / 1.406 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003973/2.537, allocations: 83.98 kB / 1.406 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.959e-05/2.537, allocations: 16 kB / 1.406 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/2.537, allocations: 6.531 kB / 1.406 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/2.548, allocations: 6.57 MB / 1.413 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/2.55, allocations: 0.7855 MB / 1.413 GB, free: 2.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008734/2.551, allocations: 75.98 kB / 1.413 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/2.554, allocations: 92.84 kB / 1.414 GB, free: 2.086 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005242/2.555, allocations: 233.1 kB / 1.414 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003087/2.555, allocations: 116 kB / 1.414 GB, free: 1.746 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002333/2.557, allocations: 1.153 MB / 1.415 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.11e-07/2.557, allocations: 0 / 1.415 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003958/2.561, allocations: 1.229 MB / 1.416 GB, free: 15.34 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.01186/2.573, allocations: 7.476 MB / 1.423 GB, free: 7.836 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02341/2.597, allocations: 9.837 MB / 1.433 GB, free: 14.07 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/2.597, allocations: 3.938 kB / 1.433 GB, free: 14.07 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/2.601, allocations: 2.148 MB / 1.435 GB, free: 12 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/2.611, allocations: 1.617 MB / 1.437 GB, free: 10.42 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0576/2.669, allocations: 28.83 MB / 1.465 GB, free: 12.15 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/2.672, allocations: 2.201 MB / 1.467 GB, free: 9.914 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.006004/2.678, allocations: 1.208 MB / 1.468 GB, free: 8.699 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002942/2.681, allocations: 1.386 MB / 1.47 GB, free: 7.312 MB / 1.123 GB Notification: Performance of SimCode: time 2.575e-06/2.681, allocations: 4 kB / 1.47 GB, free: 7.309 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/2.853, allocations: 84.8 MB / 1.552 GB, free: 3.43 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.883/12.74, allocations: 14.86 kB / 1.552 GB, free: 3.418 MB / 1.201 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches