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.01031/0.01031, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.002329/0.002329, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.132/3.132, allocations: 472.7 MB / 0.7453 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001944, allocations: 63.91 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412/1.414, allocations: 159.9 MB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 2.256/3.67, allocations: 202 MB / 1.422 GB, free: 2.727 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01068/3.681, allocations: 7.393 MB / 1.43 GB, free: 11.31 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008718/3.682, allocations: 35.81 kB / 1.43 GB, free: 11.28 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/3.683, allocations: 0.7187 MB / 1.43 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004798/3.688, allocations: 2.482 MB / 1.433 GB, free: 8.062 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/3.691, allocations: 1.255 MB / 1.434 GB, free: 6.809 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002733/3.694, allocations: 2.908 MB / 1.437 GB, free: 3.895 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008646/3.694, allocations: 0.9509 MB / 1.438 GB, free: 2.926 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/3.696, allocations: 1.063 MB / 1.439 GB, free: 1.859 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/3.697, allocations: 0.9593 MB / 1.44 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/3.697, allocations: 112 kB / 1.44 GB, free: 0.793 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/3.7, allocations: 2.139 MB / 1.442 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/3.701, allocations: 450.7 kB / 1.442 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/3.701, allocations: 0.6611 MB / 1.443 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/3.704, allocations: 2.421 MB / 1.445 GB, free: 11.12 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/3.704, allocations: 0 / 1.445 GB, free: 11.12 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.032e-06/3.704, allocations: 0 / 1.445 GB, free: 11.12 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.014e-05/3.704, allocations: 0 / 1.445 GB, free: 11.12 MB / 1.17 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.002701/3.707, allocations: 1.665 MB / 1.447 GB, free: 9.398 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/3.707, allocations: 8.031 kB / 1.447 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/3.707, allocations: 135.3 kB / 1.447 GB, free: 9.25 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/3.709, allocations: 378.9 kB / 1.448 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/3.71, allocations: 0.8635 MB / 1.448 GB, free: 7.973 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/3.71, allocations: 66 kB / 1.448 GB, free: 7.906 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/3.71, allocations: 87.98 kB / 1.449 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/3.712, allocations: 1.042 MB / 1.45 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/3.712, allocations: 3.953 kB / 1.45 GB, free: 6.742 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/3.712, allocations: 39.98 kB / 1.45 GB, free: 6.703 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/3.712, allocations: 41.98 kB / 1.45 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/3.714, allocations: 0.8822 MB / 1.45 GB, free: 5.781 MB / 1.17 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.00459/3.718, allocations: 4.308 MB / 1.455 GB, free: 1.113 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/3.719, allocations: 0.7012 MB / 1.455 GB, free: 416 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000693/3.72, allocations: 462.9 kB / 1.456 GB, free: 15.95 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/3.722, allocations: 0.6732 MB / 1.456 GB, free: 15.13 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/3.722, allocations: 43.11 kB / 1.457 GB, free: 15.08 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.014e-06/3.722, allocations: 0 / 1.457 GB, free: 15.08 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.002476/3.724, allocations: 0.9982 MB / 1.457 GB, free: 14.08 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/3.724, allocations: 59.97 kB / 1.458 GB, free: 14 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006116/3.725, allocations: 0.6372 MB / 1.458 GB, free: 13.36 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/3.725, allocations: 45.64 kB / 1.458 GB, free: 13.31 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/3.725, allocations: 432.8 kB / 1.459 GB, free: 12.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/3.725, allocations: 269.7 kB / 1.459 GB, free: 12.61 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/3.725, allocations: 118.3 kB / 1.459 GB, free: 12.49 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001281/3.725, allocations: 386.8 kB / 1.459 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/3.727, allocations: 277.2 kB / 1.46 GB, free: 11.83 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/3.727, allocations: 357.1 kB / 1.46 GB, free: 11.46 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008711/3.728, allocations: 0.6587 MB / 1.461 GB, free: 10.79 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/3.728, allocations: 0 / 1.461 GB, free: 10.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001985/3.73, allocations: 0.8013 MB / 1.461 GB, free: 9.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/3.73, allocations: 5.25 kB / 1.461 GB, free: 9.977 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/3.73, allocations: 4 kB / 1.461 GB, free: 9.973 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/3.73, allocations: 4 kB / 1.461 GB, free: 9.969 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/3.731, allocations: 139.8 kB / 1.462 GB, free: 9.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/3.731, allocations: 4 kB / 1.462 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/3.731, allocations: 59.73 kB / 1.462 GB, free: 9.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/3.731, allocations: 28 kB / 1.462 GB, free: 9.742 MB / 1.186 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.0002991/3.732, allocations: 282.2 kB / 1.462 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/3.732, allocations: 91.44 kB / 1.462 GB, free: 9.363 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/3.734, allocations: 0.7959 MB / 1.463 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/3.734, allocations: 8 kB / 1.463 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/3.734, allocations: 3.938 kB / 1.463 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009313/3.735, allocations: 0.8191 MB / 1.464 GB, free: 7.672 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/3.738, allocations: 1.853 MB / 1.465 GB, free: 5.762 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/3.738, allocations: 3.938 kB / 1.465 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/3.739, allocations: 171.8 kB / 1.466 GB, free: 5.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/3.739, allocations: 4 kB / 1.466 GB, free: 5.586 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/3.739, allocations: 19.98 kB / 1.466 GB, free: 5.566 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/3.739, allocations: 4 kB / 1.466 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/3.739, allocations: 0 / 1.466 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/3.741, allocations: 1.191 MB / 1.467 GB, free: 4.352 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/3.741, allocations: 260.2 kB / 1.467 GB, free: 4.078 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/3.741, allocations: 23.98 kB / 1.467 GB, free: 4.055 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/3.743, allocations: 20 kB / 1.467 GB, free: 4.035 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/3.743, allocations: 44.44 kB / 1.467 GB, free: 3.992 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/3.743, allocations: 27.98 kB / 1.467 GB, free: 3.965 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004369/3.743, allocations: 451 kB / 1.468 GB, free: 3.527 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/3.743, allocations: 0 / 1.468 GB, free: 3.527 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006445/3.744, allocations: 343.4 kB / 1.468 GB, free: 3.191 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.00276/3.747, allocations: 1.821 MB / 1.47 GB, free: 1.344 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009351/3.748, allocations: 0.6837 MB / 1.47 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/3.748, allocations: 3.938 kB / 1.47 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/3.749, allocations: 375 kB / 1.471 GB, free: 296 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/3.751, allocations: 0.5393 MB / 1.471 GB, free: 15.77 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/3.764, allocations: 6.995 MB / 1.478 GB, free: 8.605 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/3.764, allocations: 1.085 MB / 1.479 GB, free: 7.492 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001571/3.766, allocations: 227.2 kB / 1.479 GB, free: 7.266 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/3.766, allocations: 355.3 kB / 1.48 GB, free: 6.918 MB / 1.201 GB Notification: Performance of SimCode: time 7.61e-07/3.766, allocations: 4 kB / 1.48 GB, free: 6.914 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.776/13.54, allocations: 25.27 MB / 1.504 GB, free: 13.99 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/33.34, allocations: 25.47 kB / 1.504 GB, free: 13.97 MB / 1.232 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