Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.001118/0.001118, 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.001019/0.001019, allocations: 194.7 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.544/1.544, allocations: 222.9 MB / 240.2 MB, free: 4.25 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.716/2.716, allocations: 390.2 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.8126 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.105, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4717/1.577, allocations: 202 MB / 1.147 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01953/1.596, allocations: 7.388 MB / 1.154 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/1.601, allocations: 39.81 kB / 1.154 GB, free: 15.63 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/1.603, allocations: 0.6914 MB / 1.155 GB, free: 14.94 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01292/1.616, allocations: 2.403 MB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00637/1.623, allocations: 1.231 MB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006914/1.63, allocations: 2.918 MB / 1.161 GB, free: 8.371 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004251/1.634, allocations: 0.9509 MB / 1.162 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/1.637, allocations: 1.004 MB / 1.163 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05664/1.693, allocations: 0.9773 MB / 1.164 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008551/1.694, allocations: 108 kB / 1.164 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007495/1.702, allocations: 2.135 MB / 1.166 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/1.703, allocations: 446.8 kB / 1.167 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002448/1.706, allocations: 0.6689 MB / 1.167 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006488/1.712, allocations: 2.376 MB / 1.17 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.712, allocations: 3.984 kB / 1.17 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/1.712, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.712, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00347/1.716, allocations: 1.628 MB / 1.171 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.716, allocations: 8.031 kB / 1.171 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/1.716, allocations: 143.2 kB / 1.171 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/1.718, allocations: 378.2 kB / 1.172 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/1.72, allocations: 0.8161 MB / 1.173 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/1.72, allocations: 58 kB / 1.173 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.72, allocations: 88 kB / 1.173 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/1.722, allocations: 1.038 MB / 1.174 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.722, allocations: 4 kB / 1.174 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/1.722, allocations: 36 kB / 1.174 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.865e-05/1.722, allocations: 53.92 kB / 1.174 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.723, allocations: 0.8744 MB / 1.175 GB, free: 10.42 MB / 0.9356 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.005351/1.729, allocations: 4.335 MB / 1.179 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/1.73, allocations: 0.6981 MB / 1.18 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/1.731, allocations: 455 kB / 1.18 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000807/1.732, allocations: 0.6732 MB / 1.181 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/1.732, allocations: 43.12 kB / 1.181 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.526e-06/1.732, allocations: 0 / 1.181 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.002242/1.734, allocations: 0.9939 MB / 1.182 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/1.734, allocations: 55.97 kB / 1.182 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.735, allocations: 0.641 MB / 1.182 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/1.735, allocations: 45.7 kB / 1.182 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/1.736, allocations: 428.1 kB / 1.183 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/1.736, allocations: 248.3 kB / 1.183 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/1.736, allocations: 118.3 kB / 1.183 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002905/1.737, allocations: 390.7 kB / 1.184 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/1.737, allocations: 277.1 kB / 1.184 GB, free: 496 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/1.742, allocations: 361 kB / 1.184 GB, free: 116 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/1.743, allocations: 0.6626 MB / 1.185 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.743, allocations: 0 / 1.185 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001635/1.745, allocations: 0.7891 MB / 1.186 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.745, allocations: 8 kB / 1.186 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.745, allocations: 0 / 1.186 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.359e-05/1.745, allocations: 7.984 kB / 1.186 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/1.745, allocations: 144 kB / 1.186 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/1.746, allocations: 11.94 kB / 1.186 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/1.747, allocations: 63.36 kB / 1.186 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/1.747, allocations: 20 kB / 1.186 GB, free: 14.38 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0006573/1.747, allocations: 293.5 kB / 1.186 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/1.747, allocations: 79.06 kB / 1.186 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/1.752, allocations: 0.792 MB / 1.187 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/1.752, allocations: 8 kB / 1.187 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.752, allocations: 3.938 kB / 1.187 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/1.753, allocations: 0.8191 MB / 1.188 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/1.757, allocations: 1.856 MB / 1.19 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.757, allocations: 0 / 1.19 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/1.757, allocations: 159.8 kB / 1.19 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/1.757, allocations: 4 kB / 1.19 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/1.757, allocations: 15.94 kB / 1.19 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.758, allocations: 4 kB / 1.19 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.758, allocations: 0 / 1.19 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/1.759, allocations: 1.201 MB / 1.191 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/1.76, allocations: 247.8 kB / 1.191 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.76, allocations: 16 kB / 1.191 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.761, allocations: 20.92 kB / 1.191 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.764, allocations: 48.5 kB / 1.191 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/1.764, allocations: 19.98 kB / 1.191 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007158/1.765, allocations: 463 kB / 1.192 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.81e-07/1.765, allocations: 0 / 1.192 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001275/1.766, allocations: 335.2 kB / 1.192 GB, free: 7.875 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.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 (70): * Single equations (assignments): 70 * 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.002636/1.769, allocations: 1.836 MB / 1.194 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001689/1.77, allocations: 0.8201 MB / 1.195 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.77, allocations: 0 / 1.195 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/1.771, allocations: 367 kB / 1.195 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.774, allocations: 0.5459 MB / 1.196 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.785, allocations: 7.199 MB / 1.203 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/1.786, allocations: 1.085 MB / 1.204 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001088/1.787, allocations: 227.2 kB / 1.204 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/1.788, allocations: 359.3 kB / 1.204 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of SimCode: time 1.643e-06/1.788, allocations: 0 / 1.204 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08299/1.871, allocations: 25.08 MB / 1.229 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/13.21, allocations: 3.25 kB / 1.229 GB, free: 2.488 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches