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.009171/0.009171, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002052/0.002052, allocations: 196.9 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.561/2.561, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.89 kB / 1.018 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2592, allocations: 151.6 MB / 1.166 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7466/1.006, allocations: 202 MB / 1.363 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01124/1.017, allocations: 7.394 MB / 1.371 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/1.018, allocations: 37.16 kB / 1.371 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/1.02, allocations: 0.7221 MB / 1.371 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005395/1.026, allocations: 2.476 MB / 1.374 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/1.029, allocations: 1.251 MB / 1.375 GB, free: 2.398 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003692/1.032, allocations: 2.923 MB / 1.378 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/1.033, allocations: 0.9497 MB / 1.379 GB, free: 144 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/1.035, allocations: 1.056 MB / 1.38 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/1.036, allocations: 0.9543 MB / 1.381 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/1.037, allocations: 111.4 kB / 1.381 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/1.041, allocations: 2.139 MB / 1.383 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/1.041, allocations: 457.3 kB / 1.383 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007005/1.042, allocations: 0.6616 MB / 1.384 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/1.045, allocations: 2.416 MB / 1.386 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.045, allocations: 4 kB / 1.386 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/1.045, allocations: 0 / 1.386 GB, free: 11.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.589e-05/1.045, allocations: 0 / 1.386 GB, free: 11.54 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.003/1.048, allocations: 1.652 MB / 1.388 GB, free: 10.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.048, allocations: 14.06 kB / 1.388 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/1.048, allocations: 140.7 kB / 1.388 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/1.05, allocations: 383.4 kB / 1.389 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/1.052, allocations: 0.8577 MB / 1.389 GB, free: 9.328 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/1.052, allocations: 66.44 kB / 1.389 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.052, allocations: 85.59 kB / 1.389 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.054, allocations: 1.04 MB / 1.391 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/1.054, allocations: 6.656 kB / 1.391 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/1.054, allocations: 31.75 kB / 1.391 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/1.054, allocations: 45.2 kB / 1.391 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.055, allocations: 0.8853 MB / 1.391 GB, free: 8.148 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.004327/1.059, allocations: 4.308 MB / 1.396 GB, free: 4.312 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.06, allocations: 0.6891 MB / 1.396 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/1.061, allocations: 464.8 kB / 1.397 GB, free: 3.719 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/1.062, allocations: 0.6709 MB / 1.397 GB, free: 2.945 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/1.062, allocations: 47.89 kB / 1.397 GB, free: 2.895 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.094e-06/1.062, allocations: 0 / 1.397 GB, free: 2.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001669/1.063, allocations: 0.9968 MB / 1.398 GB, free: 2.395 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.063, allocations: 63.7 kB / 1.399 GB, free: 2.328 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/1.064, allocations: 0.6323 MB / 1.399 GB, free: 1.961 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/1.064, allocations: 38.77 kB / 1.399 GB, free: 1.922 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/1.065, allocations: 440.8 kB / 1.4 GB, free: 1.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.065, allocations: 260.3 kB / 1.4 GB, free: 1.309 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.065, allocations: 120.8 kB / 1.4 GB, free: 1.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.065, allocations: 391.8 kB / 1.4 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.066, allocations: 278.3 kB / 1.401 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/1.066, allocations: 360.7 kB / 1.401 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000895/1.067, allocations: 0.6563 MB / 1.402 GB, free: 124 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.067, allocations: 0 / 1.402 GB, free: 124 kB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001137/1.068, allocations: 0.8035 MB / 1.402 GB, free: 15.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.068, allocations: 7.969 kB / 1.402 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.068, allocations: 0 / 1.402 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.068, allocations: 5.062 kB / 1.402 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/1.069, allocations: 144.7 kB / 1.403 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.069, allocations: 7.406 kB / 1.403 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/1.069, allocations: 52.56 kB / 1.403 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/1.069, allocations: 34.27 kB / 1.403 GB, free: 15.62 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.0003629/1.07, allocations: 284.2 kB / 1.403 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/1.07, allocations: 90.09 kB / 1.403 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.071, allocations: 0.7907 MB / 1.404 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.071, allocations: 7.312 kB / 1.404 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.071, allocations: 4 kB / 1.404 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009756/1.072, allocations: 0.8237 MB / 1.405 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/1.075, allocations: 1.858 MB / 1.406 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.075, allocations: 6.031 kB / 1.406 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/1.075, allocations: 164 kB / 1.407 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/1.075, allocations: 9.031 kB / 1.407 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/1.075, allocations: 21.25 kB / 1.407 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.075, allocations: 6.5 kB / 1.407 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.075, allocations: 0 / 1.407 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.077, allocations: 1.199 MB / 1.408 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/1.077, allocations: 250.5 kB / 1.408 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/1.078, allocations: 10.75 kB / 1.408 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/1.078, allocations: 29.31 kB / 1.408 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/1.078, allocations: 44.25 kB / 1.408 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/1.078, allocations: 23.52 kB / 1.408 GB, free: 12.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004605/1.079, allocations: 454.2 kB / 1.409 GB, free: 11.81 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.079, allocations: 0 / 1.409 GB, free: 11.81 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007405/1.079, allocations: 340.1 kB / 1.409 GB, free: 11.6 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.00206/1.082, allocations: 1.842 MB / 1.411 GB, free: 9.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001007/1.083, allocations: 0.6718 MB / 1.411 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.083, allocations: 384 / 1.411 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004991/1.083, allocations: 379 kB / 1.412 GB, free: 8.688 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.085, allocations: 0.5513 MB / 1.412 GB, free: 8.152 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/1.094, allocations: 6.964 MB / 1.419 GB, free: 1.027 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/1.094, allocations: 1.085 MB / 1.42 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006906/1.095, allocations: 235.1 kB / 1.42 GB, free: 15.68 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/1.096, allocations: 355.3 kB / 1.421 GB, free: 15.33 MB / 1.092 GB Notification: Performance of SimCode: time 5.51e-07/1.096, allocations: 0 / 1.421 GB, free: 15.33 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/1.144, allocations: 25.29 MB / 1.445 GB, free: 6.418 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/9.88, allocations: 4 kB / 1.445 GB, free: 6.414 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