Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_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.001211/0.001211, 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.001163/0.001163, allocations: 192 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.408/2.408, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 66.03 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2342, allocations: 159.2 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6186/0.8529, allocations: 202 MB / 1.261 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008238/0.8612, allocations: 7.392 MB / 1.268 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.8624, allocations: 36.81 kB / 1.268 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.8638, allocations: 0.6962 MB / 1.269 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.8683, allocations: 2.402 MB / 1.271 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.8706, allocations: 1.223 MB / 1.272 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002258/0.8729, allocations: 2.916 MB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.8738, allocations: 0.9492 MB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.8749, allocations: 1.013 MB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.8764, allocations: 0.9677 MB / 1.278 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.8766, allocations: 110.8 kB / 1.278 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.8801, allocations: 2.13 MB / 1.28 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.8806, allocations: 451.1 kB / 1.281 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.8814, allocations: 0.6665 MB / 1.281 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.8847, allocations: 2.384 MB / 1.284 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.8847, allocations: 0 / 1.284 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8847, allocations: 1 kB / 1.284 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.8847, allocations: 2.453 kB / 1.284 GB, free: 4.23 MB / 0.9981 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.002934/0.8877, allocations: 1.623 MB / 1.285 GB, free: 19.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.8877, allocations: 9.625 kB / 1.285 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.8879, allocations: 140.9 kB / 1.285 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.8901, allocations: 375 kB / 1.286 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.8911, allocations: 0.8161 MB / 1.287 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.8912, allocations: 66.39 kB / 1.287 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.8913, allocations: 80.44 kB / 1.287 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.8927, allocations: 1.04 MB / 1.288 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.8927, allocations: 6.562 kB / 1.288 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.8928, allocations: 40.02 kB / 1.288 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.8929, allocations: 49.05 kB / 1.288 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.8942, allocations: 0.8783 MB / 1.289 GB, free: 18.84 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.004/0.8982, allocations: 4.324 MB / 1.293 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.8991, allocations: 0.6976 MB / 1.294 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.8998, allocations: 457.1 kB / 1.294 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.9004, allocations: 0.6728 MB / 1.295 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.9004, allocations: 43.03 kB / 1.295 GB, free: 15.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.013e-06/0.9004, allocations: 0 / 1.295 GB, free: 15.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001584/0.902, allocations: 0.9949 MB / 1.296 GB, free: 15.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.9021, allocations: 59.59 kB / 1.296 GB, free: 15.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.9027, allocations: 0.6456 MB / 1.296 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.9027, allocations: 37.66 kB / 1.296 GB, free: 15.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.9029, allocations: 431.6 kB / 1.297 GB, free: 15.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.9031, allocations: 250.1 kB / 1.297 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.9033, allocations: 118.5 kB / 1.297 GB, free: 14.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9034, allocations: 386.7 kB / 1.298 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.9038, allocations: 281 kB / 1.298 GB, free: 14.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.9042, allocations: 358.4 kB / 1.298 GB, free: 14.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.9051, allocations: 0.6585 MB / 1.299 GB, free: 14.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9051, allocations: 9.281 kB / 1.299 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001092/0.9062, allocations: 0.7869 MB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9062, allocations: 6.375 kB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9062, allocations: 6.641 kB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9063, allocations: 4.656 kB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.9068, allocations: 140.3 kB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.9069, allocations: 6 kB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.9075, allocations: 60.2 kB / 1.3 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.9076, allocations: 25.41 kB / 1.3 GB, free: 14.29 MB / 1.014 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.000307/0.9079, allocations: 286.5 kB / 1.3 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.908, allocations: 81.81 kB / 1.3 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.9092, allocations: 0.8036 MB / 1.301 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.9093, allocations: 6.844 kB / 1.301 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.9093, allocations: 5.938 kB / 1.301 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000945/0.9102, allocations: 0.8126 MB / 1.302 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.9123, allocations: 1.853 MB / 1.304 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9123, allocations: 1.312 kB / 1.304 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/0.9131, allocations: 168.1 kB / 1.304 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.9131, allocations: 5.938 kB / 1.304 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.9131, allocations: 14.81 kB / 1.304 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.9131, allocations: 4.875 kB / 1.304 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9131, allocations: 0 / 1.304 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.9146, allocations: 1.199 MB / 1.305 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.9149, allocations: 245.6 kB / 1.305 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.915, allocations: 16.38 kB / 1.305 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.9156, allocations: 19.3 kB / 1.305 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.9157, allocations: 46.44 kB / 1.305 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.9158, allocations: 22 kB / 1.305 GB, free: 13.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004868/0.9163, allocations: 458.6 kB / 1.306 GB, free: 13.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9163, allocations: 0 / 1.306 GB, free: 13.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007308/0.917, allocations: 338 kB / 1.306 GB, free: 13 MB / 1.014 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.001836/0.9188, allocations: 1.842 MB / 1.308 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.9202, allocations: 0.8164 MB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9202, allocations: 0 / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.9206, allocations: 374.8 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.9227, allocations: 0.5492 MB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.9302, allocations: 7.183 MB / 1.316 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.9308, allocations: 1.091 MB / 1.318 GB, free: 8.883 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007848/0.9316, allocations: 229.4 kB / 1.318 GB, free: 8.824 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.9319, allocations: 353.8 kB / 1.318 GB, free: 8.816 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.932, allocations: 3.594 kB / 1.318 GB, free: 8.816 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.9726, allocations: 25.09 MB / 1.343 GB, free: 2.621 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/9.824, allocations: 18.06 kB / 1.343 GB, free: 2.609 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches