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.001475/0.001475, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001607/0.001607, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 8.023 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.042/3.042, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.001932/0.001932, allocations: 80.27 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3464, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.221/0.5674, allocations: 206.2 MB / 1.554 GB, free: 9.52 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.5787, allocations: 7.594 MB / 1.562 GB, free: 1.91 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.5797, allocations: 47.62 kB / 1.562 GB, free: 1.863 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.5815, allocations: 0.7343 MB / 1.562 GB, free: 1.125 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.5873, allocations: 2.575 MB / 1.565 GB, free: 14.54 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.5903, allocations: 1.29 MB / 1.566 GB, free: 13.25 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003827/0.5941, allocations: 3.012 MB / 1.569 GB, free: 10.23 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/0.5951, allocations: 0.7249 MB / 1.57 GB, free: 9.484 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.597, allocations: 1.191 MB / 1.571 GB, free: 8.289 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.5989, allocations: 1.035 MB / 1.572 GB, free: 7.258 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.599, allocations: 112 kB / 1.572 GB, free: 7.148 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/0.6032, allocations: 2.342 MB / 1.574 GB, free: 4.801 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004713/0.6037, allocations: 470.5 kB / 1.575 GB, free: 4.34 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007091/0.6044, allocations: 0.6767 MB / 1.575 GB, free: 3.66 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.6079, allocations: 2.453 MB / 1.578 GB, free: 1.199 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6079, allocations: 0 / 1.578 GB, free: 1.199 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6079, allocations: 4 kB / 1.578 GB, free: 1.195 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.6079, allocations: 0 / 1.578 GB, free: 1.195 MB / 1.264 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.003117/0.611, allocations: 1.605 MB / 1.579 GB, free: 15.55 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6111, allocations: 12.03 kB / 1.579 GB, free: 15.54 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.6112, allocations: 131.3 kB / 1.58 GB, free: 15.41 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/0.6146, allocations: 0.5026 MB / 1.58 GB, free: 14.9 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.616, allocations: 0.7954 MB / 1.581 GB, free: 14.08 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.6161, allocations: 62 kB / 1.581 GB, free: 14.02 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.6162, allocations: 87.95 kB / 1.581 GB, free: 13.93 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.6181, allocations: 1.108 MB / 1.582 GB, free: 12.79 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.6181, allocations: 4 kB / 1.582 GB, free: 12.79 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/0.6182, allocations: 32 kB / 1.582 GB, free: 12.76 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/0.6183, allocations: 53.92 kB / 1.582 GB, free: 12.7 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.6202, allocations: 0.9797 MB / 1.583 GB, free: 11.72 MB / 1.279 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.005252/0.6254, allocations: 4.44 MB / 1.587 GB, free: 6.906 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.627, allocations: 0.773 MB / 1.588 GB, free: 6.125 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.628, allocations: 491.1 kB / 1.589 GB, free: 5.645 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.628, allocations: 12.64 kB / 1.589 GB, free: 5.633 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.6281, allocations: 39.22 kB / 1.589 GB, free: 5.586 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.6281, allocations: 4 kB / 1.589 GB, free: 5.582 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.002477/0.6305, allocations: 1.149 MB / 1.59 GB, free: 4.426 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.6306, allocations: 64.06 kB / 1.59 GB, free: 4.352 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007753/0.6314, allocations: 0.6411 MB / 1.591 GB, free: 3.707 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.6314, allocations: 41.7 kB / 1.591 GB, free: 3.66 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.6318, allocations: 448.7 kB / 1.591 GB, free: 3.215 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.632, allocations: 257.7 kB / 1.591 GB, free: 2.961 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.6322, allocations: 122.3 kB / 1.591 GB, free: 2.836 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6323, allocations: 334 kB / 1.592 GB, free: 2.504 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.633, allocations: 333.1 kB / 1.592 GB, free: 2.18 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.6337, allocations: 405 kB / 1.592 GB, free: 1.762 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.6351, allocations: 0.7605 MB / 1.593 GB, free: 0.9766 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6351, allocations: 4 kB / 1.593 GB, free: 0.9727 MB / 1.279 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001698/0.6368, allocations: 0.899 MB / 1.594 GB, free: 68 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6368, allocations: 4 kB / 1.594 GB, free: 64 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6368, allocations: 4 kB / 1.594 GB, free: 60 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.6368, allocations: 4 kB / 1.594 GB, free: 56 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.6377, allocations: 159.8 kB / 1.594 GB, free: 15.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.6377, allocations: 7.938 kB / 1.594 GB, free: 15.89 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.6385, allocations: 67.53 kB / 1.594 GB, free: 15.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.6385, allocations: 28.03 kB / 1.594 GB, free: 15.8 MB / 1.295 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.0003924/0.6389, allocations: 285.6 kB / 1.595 GB, free: 15.51 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.6391, allocations: 91.44 kB / 1.595 GB, free: 15.42 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.6393, allocations: 107.6 kB / 1.595 GB, free: 15.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.6393, allocations: 8 kB / 1.595 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6393, allocations: 0 / 1.595 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001548/0.6409, allocations: 0.9228 MB / 1.596 GB, free: 14.32 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.644, allocations: 2.003 MB / 1.598 GB, free: 12.27 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.644, allocations: 3.938 kB / 1.598 GB, free: 12.27 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009629/0.645, allocations: 191.8 kB / 1.598 GB, free: 12.08 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.645, allocations: 4 kB / 1.598 GB, free: 12.08 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.6451, allocations: 15.98 kB / 1.598 GB, free: 12.06 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.6451, allocations: 7.984 kB / 1.598 GB, free: 12.05 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6451, allocations: 0 / 1.598 GB, free: 12.05 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.6474, allocations: 1.37 MB / 1.599 GB, free: 10.66 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.6478, allocations: 183.2 kB / 1.599 GB, free: 10.48 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.648, allocations: 16 kB / 1.599 GB, free: 10.47 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/0.6487, allocations: 41.23 kB / 1.599 GB, free: 10.43 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.6488, allocations: 52.5 kB / 1.599 GB, free: 10.38 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.6489, allocations: 23.98 kB / 1.599 GB, free: 10.36 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0005324/0.6494, allocations: 459 kB / 1.6 GB, free: 9.91 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.6494, allocations: 0 / 1.6 GB, free: 9.91 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007876/0.6502, allocations: 327.5 kB / 1.6 GB, free: 9.59 MB / 1.295 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.00281/0.653, allocations: 1.99 MB / 1.602 GB, free: 7.578 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.6545, allocations: 0.7512 MB / 1.603 GB, free: 6.824 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6545, allocations: 384 / 1.603 GB, free: 6.824 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007339/0.6552, allocations: 407.5 kB / 1.603 GB, free: 6.43 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.6574, allocations: 0.5498 MB / 1.604 GB, free: 5.891 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6608/1.318, allocations: 7.368 MB / 1.611 GB, free: 255.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/1.319, allocations: 1.09 MB / 1.612 GB, free: 255 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001006/1.32, allocations: 234.3 kB / 1.612 GB, free: 254.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/1.32, allocations: 360.5 kB / 1.613 GB, free: 254.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/1.32, allocations: 0 / 1.613 GB, free: 254.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07003/1.39, allocations: 26.94 MB / 1.639 GB, free: 248.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.83, allocations: 7.047 kB / 1.639 GB, free: 248.1 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.31509149600015]