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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.009236/0.009236, allocations: 97.23 kB / 15.73 MB, free: 6 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.001983/0.001983, allocations: 189.3 kB / 16.67 MB, free: 5.93 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.639/1.639, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.91 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4749, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.428/1.903, allocations: 202 MB / 1.439 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01818/1.921, allocations: 7.4 MB / 1.446 GB, free: 6.395 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/1.924, allocations: 35.81 kB / 1.446 GB, free: 6.359 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/1.927, allocations: 0.6914 MB / 1.447 GB, free: 5.664 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008645/1.935, allocations: 2.403 MB / 1.449 GB, free: 3.25 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/1.94, allocations: 1.237 MB / 1.45 GB, free: 2.016 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006184/1.946, allocations: 2.913 MB / 1.453 GB, free: 15.1 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/1.948, allocations: 0.9476 MB / 1.454 GB, free: 14.13 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/1.952, allocations: 1.133 MB / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003786/1.955, allocations: 0.9528 MB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004014/1.956, allocations: 115.9 kB / 1.456 GB, free: 11.94 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008621/1.965, allocations: 2.12 MB / 1.458 GB, free: 9.812 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/1.966, allocations: 446.8 kB / 1.459 GB, free: 9.375 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/1.967, allocations: 0.665 MB / 1.459 GB, free: 8.707 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.009121/1.977, allocations: 2.423 MB / 1.462 GB, free: 6.277 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/1.977, allocations: 3.984 kB / 1.462 GB, free: 6.273 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.565e-06/1.977, allocations: 0 / 1.462 GB, free: 6.273 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.056e-05/1.977, allocations: 0 / 1.462 GB, free: 6.273 MB / 1.154 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.007171/1.984, allocations: 1.657 MB / 1.463 GB, free: 4.562 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 7.489e-05/1.984, allocations: 8.031 kB / 1.463 GB, free: 4.555 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005289/1.985, allocations: 143.3 kB / 1.463 GB, free: 4.406 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005026/1.99, allocations: 378.9 kB / 1.464 GB, free: 4.035 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/1.993, allocations: 0.8636 MB / 1.465 GB, free: 3.129 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/1.993, allocations: 66 kB / 1.465 GB, free: 3.062 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/1.993, allocations: 84 kB / 1.465 GB, free: 2.98 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/1.996, allocations: 1.042 MB / 1.466 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.996, allocations: 0 / 1.466 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.996, allocations: 32 kB / 1.466 GB, free: 1.875 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/1.996, allocations: 45.98 kB / 1.466 GB, free: 1.828 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/1.999, allocations: 0.8861 MB / 1.467 GB, free: 0.9414 MB / 1.154 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.01008/2.009, allocations: 4.384 MB / 1.471 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/2.012, allocations: 0.7021 MB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/2.013, allocations: 467.4 kB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/2.014, allocations: 0.6732 MB / 1.473 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.422e-05/2.014, allocations: 39.12 kB / 1.473 GB, free: 10.15 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 4.969e-06/2.014, allocations: 0 / 1.473 GB, free: 10.15 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.01155/2.026, allocations: 0.9905 MB / 1.474 GB, free: 9.152 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/2.026, allocations: 63.97 kB / 1.474 GB, free: 9.078 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/2.028, allocations: 0.6372 MB / 1.474 GB, free: 8.438 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/2.028, allocations: 37.7 kB / 1.475 GB, free: 8.395 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/2.028, allocations: 440.8 kB / 1.475 GB, free: 7.957 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/2.029, allocations: 269.7 kB / 1.475 GB, free: 7.691 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/2.029, allocations: 114.3 kB / 1.475 GB, free: 7.574 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0003341/2.029, allocations: 394.7 kB / 1.476 GB, free: 7.18 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/2.03, allocations: 273.2 kB / 1.476 GB, free: 6.914 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009953/2.031, allocations: 361.1 kB / 1.476 GB, free: 6.539 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/2.033, allocations: 0.6616 MB / 1.477 GB, free: 5.859 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/2.033, allocations: 0 / 1.477 GB, free: 5.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002729/2.036, allocations: 0.7973 MB / 1.478 GB, free: 5.055 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/2.036, allocations: 4.188 kB / 1.478 GB, free: 5.051 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/2.036, allocations: 8 kB / 1.478 GB, free: 5.043 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/2.036, allocations: 7.938 kB / 1.478 GB, free: 5.035 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/2.037, allocations: 139.8 kB / 1.478 GB, free: 4.898 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/2.037, allocations: 7.984 kB / 1.478 GB, free: 4.891 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/2.039, allocations: 55.56 kB / 1.478 GB, free: 4.836 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/2.039, allocations: 23.94 kB / 1.478 GB, free: 4.812 MB / 1.17 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.0007862/2.04, allocations: 286.2 kB / 1.478 GB, free: 4.523 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/2.04, allocations: 95.44 kB / 1.478 GB, free: 4.43 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/2.042, allocations: 0.792 MB / 1.479 GB, free: 3.629 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/2.042, allocations: 4 kB / 1.479 GB, free: 3.625 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/2.042, allocations: 4 kB / 1.479 GB, free: 3.621 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001982/2.044, allocations: 0.8269 MB / 1.48 GB, free: 2.742 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004793/2.049, allocations: 1.845 MB / 1.482 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/2.049, allocations: 3.938 kB / 1.482 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/2.05, allocations: 163.8 kB / 1.482 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/2.05, allocations: 3.984 kB / 1.482 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/2.051, allocations: 20 kB / 1.482 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/2.051, allocations: 0 / 1.482 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/2.051, allocations: 8 kB / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/2.053, allocations: 1.191 MB / 1.483 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006883/2.054, allocations: 260.3 kB / 1.483 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/2.054, allocations: 12.88 kB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/2.055, allocations: 27.94 kB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/2.055, allocations: 44.44 kB / 1.483 GB, free: 15.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.319e-05/2.055, allocations: 28 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006968/2.056, allocations: 455 kB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.8e-07/2.056, allocations: 0 / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009563/2.057, allocations: 339.4 kB / 1.484 GB, free: 14.27 MB / 1.186 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.002546/2.06, allocations: 1.834 MB / 1.486 GB, free: 12.42 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001336/2.061, allocations: 0.6757 MB / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/2.061, allocations: 0 / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005642/2.062, allocations: 375 kB / 1.487 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/2.064, allocations: 0.5551 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/2.076, allocations: 6.99 MB / 1.494 GB, free: 3.684 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/2.077, allocations: 1.085 MB / 1.495 GB, free: 2.574 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001044/2.078, allocations: 227.2 kB / 1.496 GB, free: 2.348 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/2.078, allocations: 359.3 kB / 1.496 GB, free: 1.996 MB / 1.186 GB Notification: Performance of SimCode: time 1.113e-06/2.078, allocations: 0 / 1.496 GB, free: 1.996 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06955/2.148, allocations: 25.27 MB / 1.521 GB, free: 9.055 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/12.65, allocations: 11.09 kB / 1.521 GB, free: 9.047 MB / 1.217 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 400 --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