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.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.001833/0.001833, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002374/0.002374, allocations: 216.6 kB / 22.25 MB, free: 5.242 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.481/1.481, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.193/3.193, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002002/0.002002, allocations: 66.05 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2328/0.597, allocations: 178.9 MB / 1.538 GB, free: 10.56 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.6098, allocations: 7.05 MB / 1.545 GB, free: 3.496 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.612, allocations: 55.5 kB / 1.545 GB, free: 3.441 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.614, allocations: 0.6603 MB / 1.546 GB, free: 2.777 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006902/0.6209, allocations: 2.571 MB / 1.548 GB, free: 200 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.6243, allocations: 1.263 MB / 1.549 GB, free: 14.93 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004294/0.6286, allocations: 2.978 MB / 1.552 GB, free: 11.95 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.6298, allocations: 0.7094 MB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.6321, allocations: 1.207 MB / 1.554 GB, free: 10 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.6344, allocations: 0.9837 MB / 1.555 GB, free: 9.023 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.6346, allocations: 112 kB / 1.555 GB, free: 8.914 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.6386, allocations: 1.78 MB / 1.557 GB, free: 7.129 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.6392, allocations: 474.6 kB / 1.557 GB, free: 6.664 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007771/0.64, allocations: 0.5564 MB / 1.558 GB, free: 6.105 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.644, allocations: 2.402 MB / 1.56 GB, free: 3.695 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.644, allocations: 4 kB / 1.56 GB, free: 3.691 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.432e-06/0.644, allocations: 0 / 1.56 GB, free: 3.691 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.235e-05/0.644, allocations: 0 / 1.56 GB, free: 3.691 MB / 1.248 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.003283/0.6473, allocations: 1.605 MB / 1.562 GB, free: 2.051 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.6473, allocations: 8.031 kB / 1.562 GB, free: 2.043 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.6475, allocations: 135.3 kB / 1.562 GB, free: 1.902 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/0.6508, allocations: 0.4987 MB / 1.563 GB, free: 1.402 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.6524, allocations: 0.7915 MB / 1.563 GB, free: 0.582 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.6525, allocations: 66 kB / 1.563 GB, free: 0.5156 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.6527, allocations: 84 kB / 1.563 GB, free: 444 kB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.6548, allocations: 1.32 MB / 1.565 GB, free: 15.03 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.6548, allocations: 0 / 1.565 GB, free: 15.03 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.6549, allocations: 32 kB / 1.565 GB, free: 15 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.655, allocations: 49.92 kB / 1.565 GB, free: 14.95 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.6569, allocations: 0.9836 MB / 1.566 GB, free: 13.97 MB / 1.264 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.004836/0.6618, allocations: 2.96 MB / 1.569 GB, free: 10.92 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.6634, allocations: 0.7724 MB / 1.569 GB, free: 10.14 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/0.6644, allocations: 483.2 kB / 1.57 GB, free: 9.672 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/0.6644, allocations: 12.66 kB / 1.57 GB, free: 9.66 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.6645, allocations: 43.22 kB / 1.57 GB, free: 9.609 MB / 1.264 GB Notification: Performance of pre-optimization done (n=70): time 2.294e-06/0.6645, allocations: 0 / 1.57 GB, free: 9.609 MB / 1.264 GB Notification: Performance of matching and sorting (n=70): time 0.002593/0.6671, allocations: 1.157 MB / 1.571 GB, free: 8.445 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.6671, allocations: 60.06 kB / 1.571 GB, free: 8.375 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.6679, allocations: 0.645 MB / 1.572 GB, free: 7.723 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.668, allocations: 41.64 kB / 1.572 GB, free: 7.676 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.6683, allocations: 440.8 kB / 1.572 GB, free: 7.238 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.6686, allocations: 261.7 kB / 1.572 GB, free: 6.98 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.6688, allocations: 122.3 kB / 1.573 GB, free: 6.855 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.669, allocations: 334 kB / 1.573 GB, free: 6.523 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.6696, allocations: 329.1 kB / 1.573 GB, free: 6.199 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.6704, allocations: 413 kB / 1.574 GB, free: 5.773 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.6718, allocations: 0.7566 MB / 1.574 GB, free: 5 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6718, allocations: 0 / 1.574 GB, free: 5 MB / 1.264 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00183/0.6737, allocations: 0.8989 MB / 1.575 GB, free: 4.094 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6737, allocations: 4 kB / 1.575 GB, free: 4.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6737, allocations: 0 / 1.575 GB, free: 4.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.6737, allocations: 8 kB / 1.575 GB, free: 4.082 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/0.6745, allocations: 164 kB / 1.575 GB, free: 3.922 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.6746, allocations: 7.938 kB / 1.575 GB, free: 3.914 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/0.6755, allocations: 67.53 kB / 1.575 GB, free: 3.848 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.6755, allocations: 23.98 kB / 1.575 GB, free: 3.824 MB / 1.264 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.0004784/0.676, allocations: 285.7 kB / 1.576 GB, free: 3.535 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6762, allocations: 91.44 kB / 1.576 GB, free: 3.445 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.6764, allocations: 107.6 kB / 1.576 GB, free: 3.332 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6764, allocations: 8 kB / 1.576 GB, free: 3.324 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6764, allocations: 4 kB / 1.576 GB, free: 3.32 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001613/0.678, allocations: 0.9189 MB / 1.577 GB, free: 2.352 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.6813, allocations: 1.832 MB / 1.579 GB, free: 480 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6813, allocations: 3.938 kB / 1.579 GB, free: 476 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.6823, allocations: 183.8 kB / 1.579 GB, free: 292 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.6823, allocations: 4 kB / 1.579 GB, free: 288 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.6824, allocations: 12 kB / 1.579 GB, free: 276 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6824, allocations: 4 kB / 1.579 GB, free: 272 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6824, allocations: 4 kB / 1.579 GB, free: 268 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.6849, allocations: 1.378 MB / 1.58 GB, free: 14.86 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.6854, allocations: 179.2 kB / 1.58 GB, free: 14.69 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.6855, allocations: 16 kB / 1.58 GB, free: 14.67 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.6862, allocations: 39.97 kB / 1.58 GB, free: 14.63 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.6864, allocations: 52.5 kB / 1.58 GB, free: 14.58 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.6864, allocations: 23.98 kB / 1.58 GB, free: 14.56 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0005874/0.687, allocations: 459 kB / 1.581 GB, free: 14.11 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.1e-08/0.687, allocations: 0 / 1.581 GB, free: 14.11 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008692/0.6879, allocations: 331.5 kB / 1.581 GB, free: 13.79 MB / 1.279 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.003044/0.6909, allocations: 1.997 MB / 1.583 GB, free: 11.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.6926, allocations: 0.7589 MB / 1.584 GB, free: 11.01 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6926, allocations: 0 / 1.584 GB, free: 11.01 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.6933, allocations: 403.9 kB / 1.584 GB, free: 10.62 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.6957, allocations: 0.5455 MB / 1.585 GB, free: 10.09 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.7075, allocations: 7.375 MB / 1.592 GB, free: 2.543 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.708, allocations: 0.4911 MB / 1.593 GB, free: 2.02 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00096/0.709, allocations: 231.3 kB / 1.593 GB, free: 1.789 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/0.7096, allocations: 367.3 kB / 1.593 GB, free: 1.43 MB / 1.279 GB Notification: Performance of SimCode: time 1.102e-06/0.7096, allocations: 0 / 1.593 GB, free: 1.43 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7862/1.496, allocations: 29.28 MB / 1.622 GB, free: 246.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.58, allocations: 3.406 kB / 1.622 GB, free: 246.6 MB / 1.295 GB " [Timeout remaining time 286] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable volA.T in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volA.T from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable volOut.T in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volOut.T from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutBot.v in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutBot.v from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutTop.v in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutTop.v from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.507322244811803]