Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_10_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.008228/0.008228, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001923/0.001923, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.525/1.525, 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 10.1.1-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3609, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.006/1.367, allocations: 202 MB / 1.363 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01236/1.379, allocations: 7.394 MB / 1.371 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/1.381, allocations: 36.81 kB / 1.371 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/1.383, allocations: 0.6951 MB / 1.371 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006929/1.39, allocations: 2.408 MB / 1.374 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003705/1.394, allocations: 1.235 MB / 1.375 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004839/1.399, allocations: 2.919 MB / 1.378 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/1.4, allocations: 0.9541 MB / 1.379 GB, free: 188 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/1.403, allocations: 1.015 MB / 1.38 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/1.405, allocations: 0.958 MB / 1.381 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002523/1.405, allocations: 110 kB / 1.381 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/1.411, allocations: 2.135 MB / 1.383 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007848/1.412, allocations: 447.2 kB / 1.383 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/1.413, allocations: 0.6664 MB / 1.384 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005662/1.419, allocations: 2.414 MB / 1.386 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.419, allocations: 0 / 1.386 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/1.419, allocations: 0 / 1.386 GB, free: 11.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.181e-05/1.419, allocations: 0 / 1.386 GB, free: 11.62 MB / 1.061 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.003434/1.423, allocations: 1.662 MB / 1.388 GB, free: 10.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.423, allocations: 9.75 kB / 1.388 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/1.423, allocations: 140.4 kB / 1.388 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/1.425, allocations: 380.4 kB / 1.388 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.427, allocations: 0.8615 MB / 1.389 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/1.427, allocations: 61.16 kB / 1.389 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.427, allocations: 82.75 kB / 1.389 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/1.429, allocations: 1.043 MB / 1.39 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/1.429, allocations: 4 kB / 1.39 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.488e-05/1.429, allocations: 35.28 kB / 1.39 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/1.429, allocations: 47.05 kB / 1.39 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/1.43, allocations: 0.8857 MB / 1.391 GB, free: 8.23 MB / 1.061 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.005376/1.436, allocations: 4.305 MB / 1.395 GB, free: 4.391 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/1.437, allocations: 0.6995 MB / 1.396 GB, free: 4.016 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/1.438, allocations: 466.7 kB / 1.397 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006942/1.438, allocations: 0.6689 MB / 1.397 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/1.438, allocations: 43.66 kB / 1.397 GB, free: 2.969 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/1.438, allocations: 0 / 1.397 GB, free: 2.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001951/1.44, allocations: 0.9915 MB / 1.398 GB, free: 2.473 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.44, allocations: 67.47 kB / 1.398 GB, free: 2.402 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/1.441, allocations: 0.6348 MB / 1.399 GB, free: 2.035 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/1.441, allocations: 40.48 kB / 1.399 GB, free: 1.992 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/1.442, allocations: 441 kB / 1.399 GB, free: 1.605 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.442, allocations: 260.1 kB / 1.4 GB, free: 1.379 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/1.442, allocations: 120.5 kB / 1.4 GB, free: 1.301 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.442, allocations: 390.6 kB / 1.4 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/1.443, allocations: 277.1 kB / 1.4 GB, free: 0.793 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/1.443, allocations: 357 kB / 1.401 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/1.444, allocations: 0.6615 MB / 1.401 GB, free: 196 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.444, allocations: 2.438 kB / 1.401 GB, free: 196 kB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001292/1.445, allocations: 0.7913 MB / 1.402 GB, free: 15.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.446, allocations: 8.062 kB / 1.402 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.446, allocations: 6.094 kB / 1.402 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.446, allocations: 5.25 kB / 1.402 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/1.446, allocations: 146.4 kB / 1.402 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.446, allocations: 4.688 kB / 1.402 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/1.447, allocations: 60.28 kB / 1.402 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/1.447, allocations: 25.56 kB / 1.402 GB, free: 15.69 MB / 1.076 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.0004446/1.447, allocations: 288.1 kB / 1.403 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/1.448, allocations: 94.12 kB / 1.403 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/1.449, allocations: 0.7946 MB / 1.404 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/1.449, allocations: 7.312 kB / 1.404 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.449, allocations: 3.938 kB / 1.404 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/1.45, allocations: 0.826 MB / 1.404 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/1.453, allocations: 1.855 MB / 1.406 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.453, allocations: 2 kB / 1.406 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/1.454, allocations: 164.1 kB / 1.406 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.454, allocations: 2.625 kB / 1.406 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/1.454, allocations: 16.69 kB / 1.406 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.454, allocations: 6.625 kB / 1.406 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.454, allocations: 0 / 1.406 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/1.455, allocations: 1.203 MB / 1.408 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/1.456, allocations: 248.2 kB / 1.408 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.456, allocations: 17.34 kB / 1.408 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/1.456, allocations: 24.19 kB / 1.408 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.457, allocations: 44.94 kB / 1.408 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/1.457, allocations: 26.83 kB / 1.408 GB, free: 12.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005458/1.457, allocations: 456.8 kB / 1.408 GB, free: 11.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.7e-07/1.457, allocations: 0 / 1.408 GB, free: 11.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008599/1.458, allocations: 333.3 kB / 1.409 GB, free: 11.61 MB / 1.076 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.002387/1.46, allocations: 1.844 MB / 1.41 GB, free: 9.738 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.462, allocations: 0.6796 MB / 1.411 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.462, allocations: 0 / 1.411 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005541/1.462, allocations: 371.3 kB / 1.411 GB, free: 8.695 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/1.465, allocations: 0.5571 MB / 1.412 GB, free: 8.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.475, allocations: 6.964 MB / 1.419 GB, free: 1.035 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008006/1.476, allocations: 1.093 MB / 1.42 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008956/1.477, allocations: 223.2 kB / 1.42 GB, free: 15.69 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/1.477, allocations: 359.3 kB / 1.42 GB, free: 15.34 MB / 1.092 GB Notification: Performance of SimCode: time 1.102e-06/1.477, allocations: 0 / 1.42 GB, free: 15.34 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06405/1.541, allocations: 25.28 MB / 1.445 GB, free: 6.434 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.6, allocations: 13.91 kB / 1.445 GB, free: 6.426 MB / 1.107 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches