Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_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.007317/0.007317, allocations: 102 kB / 15.73 MB, free: 6.441 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.001997/0.001997, allocations: 193.8 kB / 16.67 MB, free: 6.352 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.668/2.668, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 67.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2985, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7589/1.057, allocations: 202 MB / 1.417 GB, free: 6.711 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01251/1.07, allocations: 7.4 MB / 1.425 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/1.072, allocations: 43.38 kB / 1.425 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/1.073, allocations: 0.6888 MB / 1.425 GB, free: 104 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/1.079, allocations: 2.407 MB / 1.428 GB, free: 14.24 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/1.083, allocations: 1.238 MB / 1.429 GB, free: 13.29 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003595/1.086, allocations: 2.909 MB / 1.432 GB, free: 11.63 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/1.088, allocations: 0.9471 MB / 1.433 GB, free: 11.05 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/1.089, allocations: 1.022 MB / 1.434 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/1.091, allocations: 0.9709 MB / 1.435 GB, free: 9.871 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000196/1.091, allocations: 112 kB / 1.435 GB, free: 9.762 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/1.096, allocations: 2.128 MB / 1.437 GB, free: 7.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005116/1.096, allocations: 450.8 kB / 1.437 GB, free: 7.188 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008327/1.097, allocations: 0.6611 MB / 1.438 GB, free: 6.523 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003962/1.101, allocations: 2.411 MB / 1.44 GB, free: 4.105 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/1.101, allocations: 8 kB / 1.44 GB, free: 4.098 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.804e-06/1.101, allocations: 0 / 1.44 GB, free: 4.098 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.101, allocations: 0 / 1.44 GB, free: 4.098 MB / 1.123 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.003138/1.104, allocations: 1.653 MB / 1.442 GB, free: 2.391 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.104, allocations: 12.02 kB / 1.442 GB, free: 2.379 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/1.104, allocations: 143.2 kB / 1.442 GB, free: 2.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/1.107, allocations: 382.9 kB / 1.442 GB, free: 1.855 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/1.108, allocations: 0.8481 MB / 1.443 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/1.108, allocations: 70 kB / 1.443 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/1.108, allocations: 84 kB / 1.443 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/1.11, allocations: 1.038 MB / 1.444 GB, free: 15.74 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.11, allocations: 15.83 kB / 1.444 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/1.11, allocations: 36 kB / 1.444 GB, free: 15.69 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.52e-05/1.11, allocations: 45.98 kB / 1.444 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/1.112, allocations: 0.8822 MB / 1.445 GB, free: 14.76 MB / 1.139 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.004959/1.117, allocations: 4.305 MB / 1.449 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.118, allocations: 0.7097 MB / 1.45 GB, free: 9.387 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/1.119, allocations: 462.9 kB / 1.451 GB, free: 8.934 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/1.119, allocations: 0.6771 MB / 1.451 GB, free: 8.109 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/1.119, allocations: 43.06 kB / 1.451 GB, free: 8.059 MB / 1.139 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/1.119, allocations: 0 / 1.451 GB, free: 8.059 MB / 1.139 GB Notification: Performance of matching and sorting (n=70): time 0.001915/1.121, allocations: 0.9982 MB / 1.452 GB, free: 7.059 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.121, allocations: 59.97 kB / 1.452 GB, free: 6.984 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/1.122, allocations: 0.6373 MB / 1.453 GB, free: 6.344 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/1.122, allocations: 37.7 kB / 1.453 GB, free: 6.301 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/1.123, allocations: 436.8 kB / 1.453 GB, free: 5.867 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.123, allocations: 257.8 kB / 1.454 GB, free: 5.613 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.123, allocations: 122.3 kB / 1.454 GB, free: 5.488 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.123, allocations: 394.7 kB / 1.454 GB, free: 5.094 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/1.124, allocations: 273.2 kB / 1.454 GB, free: 4.828 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/1.124, allocations: 361 kB / 1.455 GB, free: 4.453 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.125, allocations: 0.6626 MB / 1.455 GB, free: 3.773 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.125, allocations: 0 / 1.455 GB, free: 3.773 MB / 1.139 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001318/1.127, allocations: 0.7935 MB / 1.456 GB, free: 2.973 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.127, allocations: 11.92 kB / 1.456 GB, free: 2.961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.127, allocations: 0 / 1.456 GB, free: 2.961 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.127, allocations: 12.19 kB / 1.456 GB, free: 2.949 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/1.127, allocations: 139.8 kB / 1.456 GB, free: 2.812 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.127, allocations: 4 kB / 1.456 GB, free: 2.809 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/1.128, allocations: 55.55 kB / 1.456 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/1.128, allocations: 31.88 kB / 1.456 GB, free: 2.723 MB / 1.139 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.0003898/1.129, allocations: 281.7 kB / 1.457 GB, free: 2.438 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/1.129, allocations: 95.42 kB / 1.457 GB, free: 2.344 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/1.13, allocations: 0.791 MB / 1.458 GB, free: 1.539 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.13, allocations: 8 kB / 1.458 GB, free: 1.531 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.13, allocations: 0 / 1.458 GB, free: 1.531 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/1.131, allocations: 0.823 MB / 1.458 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/1.134, allocations: 1.849 MB / 1.46 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.134, allocations: 3.938 kB / 1.46 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/1.135, allocations: 163.8 kB / 1.46 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.135, allocations: 0 / 1.46 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/1.135, allocations: 23.94 kB / 1.46 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.135, allocations: 3.984 kB / 1.46 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.135, allocations: 5.062 kB / 1.46 GB, free: 14.56 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/1.137, allocations: 1.199 MB / 1.462 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/1.137, allocations: 256.3 kB / 1.462 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.137, allocations: 12 kB / 1.462 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/1.138, allocations: 24.92 kB / 1.462 GB, free: 13.04 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.138, allocations: 40.5 kB / 1.462 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/1.138, allocations: 23.98 kB / 1.462 GB, free: 12.97 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005599/1.139, allocations: 463 kB / 1.462 GB, free: 12.52 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.7e-07/1.139, allocations: 0 / 1.462 GB, free: 12.52 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007892/1.139, allocations: 339.4 kB / 1.463 GB, free: 12.19 MB / 1.154 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.002348/1.142, allocations: 1.841 MB / 1.464 GB, free: 10.33 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00119/1.143, allocations: 0.6796 MB / 1.465 GB, free: 9.652 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.143, allocations: 0 / 1.465 GB, free: 9.652 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/1.144, allocations: 367 kB / 1.465 GB, free: 9.289 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.146, allocations: 0.545 MB / 1.466 GB, free: 8.766 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009889/1.156, allocations: 6.979 MB / 1.473 GB, free: 1.621 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/1.157, allocations: 1.089 MB / 1.474 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008106/1.157, allocations: 231.2 kB / 1.474 GB, free: 280 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/1.158, allocations: 355.4 kB / 1.474 GB, free: 15.92 MB / 1.17 GB Notification: Performance of SimCode: time 5.91e-07/1.158, allocations: 0 / 1.474 GB, free: 15.92 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06551/1.224, allocations: 25.28 MB / 1.499 GB, free: 7.008 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/10.13, allocations: 14.14 kB / 1.499 GB, free: 6.996 MB / 1.186 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches