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.001313/0.001314, allocations: 108 kB / 15.61 MB, free: 148 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.001298/0.001298, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.393/2.393, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5207, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1917/0.7124, allocations: 202 MB / 1.215 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.723, allocations: 7.397 MB / 1.222 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.7244, allocations: 35.81 kB / 1.222 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.7263, allocations: 0.6914 MB / 1.223 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.7317, allocations: 2.407 MB / 1.225 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.7346, allocations: 1.238 MB / 1.226 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.7382, allocations: 2.9 MB / 1.229 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.7396, allocations: 0.9469 MB / 1.23 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.7413, allocations: 1.012 MB / 1.231 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.7434, allocations: 0.968 MB / 1.232 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.7437, allocations: 112 kB / 1.232 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.7476, allocations: 2.124 MB / 1.234 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.7483, allocations: 458.7 kB / 1.234 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.7494, allocations: 0.6728 MB / 1.235 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.7534, allocations: 2.372 MB / 1.237 GB, free: 388 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7534, allocations: 3.938 kB / 1.237 GB, free: 384 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7534, allocations: 0 / 1.237 GB, free: 384 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.224e-05/0.7535, allocations: 4 kB / 1.237 GB, free: 380 kB / 0.9825 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.003831/0.7573, allocations: 1.622 MB / 1.239 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7573, allocations: 16.03 kB / 1.239 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/0.7576, allocations: 131.3 kB / 1.239 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.7602, allocations: 378.2 kB / 1.24 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.7616, allocations: 0.8238 MB / 1.24 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.7616, allocations: 66 kB / 1.24 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.7618, allocations: 84 kB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.7635, allocations: 1.038 MB / 1.241 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.7636, allocations: 4 kB / 1.241 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.7636, allocations: 32 kB / 1.242 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/0.7637, allocations: 49.92 kB / 1.242 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.7652, allocations: 0.8783 MB / 1.242 GB, free: 11.12 MB / 0.9981 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.004869/0.7701, allocations: 4.327 MB / 1.247 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.7713, allocations: 0.6983 MB / 1.247 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.772, allocations: 458.9 kB / 1.248 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/0.7727, allocations: 0.6693 MB / 1.248 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.7727, allocations: 43.12 kB / 1.248 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.344e-06/0.7727, allocations: 3.938 kB / 1.248 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.001807/0.7745, allocations: 0.9977 MB / 1.249 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.7746, allocations: 63.95 kB / 1.249 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.7753, allocations: 0.6295 MB / 1.25 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.7754, allocations: 37.7 kB / 1.25 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.7757, allocations: 432.1 kB / 1.251 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.776, allocations: 252.3 kB / 1.251 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.7761, allocations: 122.2 kB / 1.251 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7763, allocations: 394.7 kB / 1.251 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.7768, allocations: 273.2 kB / 1.252 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.7772, allocations: 349.1 kB / 1.252 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.7782, allocations: 0.6665 MB / 1.253 GB, free: 136 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7782, allocations: 4 kB / 1.253 GB, free: 132 kB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.4385/1.217, allocations: 0.7834 MB / 1.253 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.217, allocations: 5.75 kB / 1.253 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.217, allocations: 2.578 kB / 1.253 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.217, allocations: 4.906 kB / 1.253 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/1.218, allocations: 145.5 kB / 1.253 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/1.218, allocations: 6.922 kB / 1.253 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/1.218, allocations: 56.11 kB / 1.254 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/1.218, allocations: 24.62 kB / 1.254 GB, free: 234.6 MB / 0.9981 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.0004362/1.219, allocations: 289.4 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/1.219, allocations: 84.52 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/1.22, allocations: 0.7975 MB / 1.255 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.22, allocations: 6.875 kB / 1.255 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.22, allocations: 3.688 kB / 1.255 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/1.222, allocations: 0.816 MB / 1.255 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/1.224, allocations: 1.858 MB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.224, allocations: 3.969 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/1.225, allocations: 165.3 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/1.225, allocations: 7.312 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/1.225, allocations: 19.06 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.225, allocations: 2.469 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.225, allocations: 0.9062 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/1.227, allocations: 1.192 MB / 1.259 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/1.227, allocations: 254.6 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.227, allocations: 12.62 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/1.228, allocations: 25.05 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.228, allocations: 40.5 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/1.228, allocations: 23.89 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005749/1.229, allocations: 456.6 kB / 1.259 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.229, allocations: 0 / 1.259 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008968/1.23, allocations: 338 kB / 1.26 GB, free: 231.9 MB / 0.9981 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.002153/1.232, allocations: 1.829 MB / 1.262 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001646/1.233, allocations: 0.8125 MB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.233, allocations: 0.5312 kB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006549/1.234, allocations: 376.7 kB / 1.263 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/1.237, allocations: 0.5546 MB / 1.263 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009832/1.246, allocations: 7.185 MB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/1.247, allocations: 1.087 MB / 1.271 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001139/1.248, allocations: 227.2 kB / 1.272 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/1.249, allocations: 357.4 kB / 1.272 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.249, allocations: 7.938 kB / 1.272 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/1.291, allocations: 25.1 MB / 1.296 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.775, allocations: 4.688 kB / 1.296 GB, free: 208.7 MB / 0.9981 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