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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 216.2 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 66.56 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3998, allocations: 170 MB / 1.283 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2635/0.6633, allocations: 178.8 MB / 1.457 GB, free: 9.062 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.6817, allocations: 6.908 MB / 1.464 GB, free: 2.145 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.6843, allocations: 51.56 kB / 1.464 GB, free: 2.094 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.6877, allocations: 0.6681 MB / 1.465 GB, free: 1.422 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.6991, allocations: 2.517 MB / 1.467 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00616/0.7052, allocations: 1.266 MB / 1.468 GB, free: 13.63 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007491/0.7127, allocations: 2.967 MB / 1.471 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.7151, allocations: 0.7055 MB / 1.472 GB, free: 9.93 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.719, allocations: 1.071 MB / 1.473 GB, free: 8.855 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.7235, allocations: 0.99 MB / 1.474 GB, free: 7.867 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006387/0.7241, allocations: 112 kB / 1.474 GB, free: 7.758 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007949/0.7321, allocations: 1.753 MB / 1.476 GB, free: 6 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.7334, allocations: 466.6 kB / 1.476 GB, free: 5.543 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.7355, allocations: 0.5563 MB / 1.477 GB, free: 4.984 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.7439, allocations: 2.348 MB / 1.479 GB, free: 2.629 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.744, allocations: 4 kB / 1.479 GB, free: 2.625 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.306e-06/0.744, allocations: 0 / 1.479 GB, free: 2.625 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.711e-05/0.744, allocations: 3.938 kB / 1.479 GB, free: 2.621 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.006352/0.7504, allocations: 1.586 MB / 1.481 GB, free: 1 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.7504, allocations: 8.031 kB / 1.481 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004241/0.7509, allocations: 139.2 kB / 1.481 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.7557, allocations: 374.9 kB / 1.481 GB, free: 492 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/0.7593, allocations: 0.7953 MB / 1.482 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.7594, allocations: 61.98 kB / 1.482 GB, free: 15.6 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004253/0.7599, allocations: 87.95 kB / 1.482 GB, free: 15.51 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003954/0.7638, allocations: 1.242 MB / 1.483 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/0.7639, allocations: 3.938 kB / 1.483 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.7641, allocations: 36 kB / 1.483 GB, free: 14.15 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.7642, allocations: 49.98 kB / 1.483 GB, free: 14.1 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/0.7674, allocations: 0.8783 MB / 1.484 GB, free: 13.22 MB / 1.186 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.00906/0.7764, allocations: 2.865 MB / 1.487 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.7786, allocations: 0.6599 MB / 1.488 GB, free: 9.605 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.7801, allocations: 431.2 kB / 1.488 GB, free: 9.184 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.7807, allocations: 80.58 kB / 1.488 GB, free: 9.105 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/0.7807, allocations: 39.22 kB / 1.488 GB, free: 9.059 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 4.559e-06/0.7808, allocations: 3.938 kB / 1.488 GB, free: 9.055 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.003509/0.7843, allocations: 1.005 MB / 1.489 GB, free: 8.043 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.7843, allocations: 60.06 kB / 1.489 GB, free: 7.973 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.7857, allocations: 0.6372 MB / 1.49 GB, free: 7.328 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.7858, allocations: 45.64 kB / 1.49 GB, free: 7.277 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/0.7864, allocations: 440.8 kB / 1.49 GB, free: 6.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.7868, allocations: 257.7 kB / 1.49 GB, free: 6.586 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.7871, allocations: 118.3 kB / 1.491 GB, free: 6.465 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0003025/0.7874, allocations: 390.8 kB / 1.491 GB, free: 6.074 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/0.7883, allocations: 273.2 kB / 1.491 GB, free: 5.809 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/0.7892, allocations: 357 kB / 1.492 GB, free: 5.438 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.7904, allocations: 0.6668 MB / 1.492 GB, free: 4.746 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7904, allocations: 0 / 1.492 GB, free: 4.746 MB / 1.186 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001532/0.792, allocations: 0.7896 MB / 1.493 GB, free: 3.949 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.792, allocations: 8 kB / 1.493 GB, free: 3.941 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.792, allocations: 3.984 kB / 1.493 GB, free: 3.938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.792, allocations: 8.188 kB / 1.493 GB, free: 3.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.7927, allocations: 151.8 kB / 1.493 GB, free: 3.781 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.7927, allocations: 4 kB / 1.493 GB, free: 3.777 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.7936, allocations: 55.55 kB / 1.493 GB, free: 3.723 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.7936, allocations: 24 kB / 1.493 GB, free: 3.699 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.0005062/0.7941, allocations: 285.6 kB / 1.493 GB, free: 3.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.7943, allocations: 83.48 kB / 1.494 GB, free: 3.328 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.7959, allocations: 0.7981 MB / 1.494 GB, free: 2.516 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7959, allocations: 8 kB / 1.494 GB, free: 2.508 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.7959, allocations: 7.938 kB / 1.494 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.7971, allocations: 0.8213 MB / 1.495 GB, free: 1.629 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.8, allocations: 1.687 MB / 1.497 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8, allocations: 4 kB / 1.497 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.8009, allocations: 159.9 kB / 1.497 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.8009, allocations: 4 kB / 1.497 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.801, allocations: 19.98 kB / 1.497 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.801, allocations: 4 kB / 1.497 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.801, allocations: 0 / 1.497 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.803, allocations: 1.206 MB / 1.498 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.8035, allocations: 175.2 kB / 1.498 GB, free: 14.31 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.8036, allocations: 12 kB / 1.498 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.8043, allocations: 19.98 kB / 1.498 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.8044, allocations: 48.56 kB / 1.498 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.8045, allocations: 23.98 kB / 1.498 GB, free: 14.21 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006256/0.8051, allocations: 455 kB / 1.499 GB, free: 13.77 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8051, allocations: 0 / 1.499 GB, free: 13.77 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008849/0.806, allocations: 339.3 kB / 1.499 GB, free: 13.44 MB / 1.201 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.002509/0.8085, allocations: 1.845 MB / 1.501 GB, free: 11.56 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.8097, allocations: 0.6457 MB / 1.502 GB, free: 10.92 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8097, allocations: 4 kB / 1.502 GB, free: 10.91 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.8103, allocations: 351.5 kB / 1.502 GB, free: 10.57 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.8127, allocations: 0.5497 MB / 1.503 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.8237, allocations: 6.983 MB / 1.509 GB, free: 2.891 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.8242, allocations: 498.6 kB / 1.51 GB, free: 2.375 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009568/0.8252, allocations: 231.2 kB / 1.51 GB, free: 2.145 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005658/0.8257, allocations: 363.3 kB / 1.51 GB, free: 1.789 MB / 1.201 GB Notification: Performance of SimCode: time 1.353e-06/0.8257, allocations: 0 / 1.51 GB, free: 1.789 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07043/0.8962, allocations: 28.01 MB / 1.538 GB, free: 6.383 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.65, allocations: 22.23 kB / 1.538 GB, free: 6.371 MB / 1.232 GB " [Timeout remaining time 286] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable volA.T in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volA.T from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable volOut.T in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volOut.T from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutBot.v in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutBot.v from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutTop.v in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutTop.v from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.983204281888902]