Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00133/0.00133, 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.001713/0.001713, allocations: 211.5 kB / 22.24 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_12_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.002038/0.002038, allocations: 72.95 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2286/0.5341, allocations: 178.8 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.5462, allocations: 6.932 MB / 1.506 GB, free: 7.938 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.5479, allocations: 51.56 kB / 1.507 GB, free: 7.887 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.5502, allocations: 0.6525 MB / 1.507 GB, free: 7.23 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.5571, allocations: 2.517 MB / 1.51 GB, free: 4.703 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.5608, allocations: 1.27 MB / 1.511 GB, free: 3.434 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004505/0.5653, allocations: 2.964 MB / 1.514 GB, free: 472 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.5668, allocations: 0.7016 MB / 1.514 GB, free: 15.74 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.5695, allocations: 1.199 MB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.5721, allocations: 0.9743 MB / 1.517 GB, free: 13.56 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.5725, allocations: 115.9 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.5767, allocations: 1.741 MB / 1.518 GB, free: 11.7 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007988/0.5775, allocations: 466.6 kB / 1.519 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.5787, allocations: 0.5602 MB / 1.519 GB, free: 10.68 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005064/0.5838, allocations: 2.363 MB / 1.522 GB, free: 8.312 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5838, allocations: 0 / 1.522 GB, free: 8.312 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5838, allocations: 0 / 1.522 GB, free: 8.312 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.303e-05/0.5838, allocations: 0 / 1.522 GB, free: 8.312 MB / 1.217 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.004399/0.5882, allocations: 1.578 MB / 1.523 GB, free: 6.699 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5883, allocations: 8.031 kB / 1.523 GB, free: 6.691 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000262/0.5885, allocations: 143.2 kB / 1.523 GB, free: 6.543 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.5912, allocations: 386.8 kB / 1.524 GB, free: 6.164 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.5932, allocations: 0.7876 MB / 1.525 GB, free: 5.348 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.5932, allocations: 66 kB / 1.525 GB, free: 5.281 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.5934, allocations: 84 kB / 1.525 GB, free: 5.199 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.5956, allocations: 1.242 MB / 1.526 GB, free: 3.875 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.5956, allocations: 7.984 kB / 1.526 GB, free: 3.867 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.5957, allocations: 32 kB / 1.526 GB, free: 3.836 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.5958, allocations: 45.98 kB / 1.526 GB, free: 3.789 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.5976, allocations: 0.8744 MB / 1.527 GB, free: 2.914 MB / 1.217 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.005333/0.6029, allocations: 2.869 MB / 1.53 GB, free: 15.96 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.6042, allocations: 0.6667 MB / 1.53 GB, free: 15.29 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.605, allocations: 439.2 kB / 1.531 GB, free: 14.86 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.6054, allocations: 76.59 kB / 1.531 GB, free: 14.78 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.6054, allocations: 43.22 kB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 3.035e-06/0.6054, allocations: 0 / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.002095/0.6075, allocations: 0.9933 MB / 1.532 GB, free: 13.73 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.6076, allocations: 60.06 kB / 1.532 GB, free: 13.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.6085, allocations: 0.6372 MB / 1.532 GB, free: 13.02 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.6085, allocations: 45.64 kB / 1.532 GB, free: 12.97 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.6089, allocations: 444.8 kB / 1.533 GB, free: 12.53 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.6092, allocations: 257.8 kB / 1.533 GB, free: 12.27 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.6094, allocations: 118.3 kB / 1.533 GB, free: 12.15 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.6097, allocations: 386.7 kB / 1.534 GB, free: 11.77 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.6102, allocations: 277.2 kB / 1.534 GB, free: 11.49 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.6107, allocations: 357.1 kB / 1.534 GB, free: 11.12 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.6119, allocations: 0.6591 MB / 1.535 GB, free: 10.44 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6119, allocations: 0 / 1.535 GB, free: 10.44 MB / 1.232 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001493/0.6134, allocations: 0.8013 MB / 1.536 GB, free: 9.633 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6134, allocations: 4 kB / 1.536 GB, free: 9.629 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.6134, allocations: 4 kB / 1.536 GB, free: 9.625 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6134, allocations: 7.938 kB / 1.536 GB, free: 9.617 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.6141, allocations: 143.8 kB / 1.536 GB, free: 9.477 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.6141, allocations: 7.984 kB / 1.536 GB, free: 9.469 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.6149, allocations: 59.69 kB / 1.536 GB, free: 9.41 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.6149, allocations: 31.98 kB / 1.536 GB, free: 9.379 MB / 1.232 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.0004736/0.6154, allocations: 282.2 kB / 1.536 GB, free: 9.094 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6156, allocations: 87.48 kB / 1.536 GB, free: 9.008 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.6171, allocations: 0.8019 MB / 1.537 GB, free: 8.195 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.6171, allocations: 12 kB / 1.537 GB, free: 8.184 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6171, allocations: 3.938 kB / 1.537 GB, free: 8.18 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/0.6184, allocations: 0.8174 MB / 1.538 GB, free: 7.312 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.6214, allocations: 1.679 MB / 1.539 GB, free: 5.582 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6214, allocations: 0 / 1.539 GB, free: 5.582 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.6223, allocations: 163.8 kB / 1.54 GB, free: 5.422 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.6223, allocations: 4 kB / 1.54 GB, free: 5.418 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.6223, allocations: 20 kB / 1.54 GB, free: 5.398 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.6223, allocations: 7.984 kB / 1.54 GB, free: 5.391 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6223, allocations: 0 / 1.54 GB, free: 5.391 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.6243, allocations: 1.198 MB / 1.541 GB, free: 4.176 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.6249, allocations: 175.2 kB / 1.541 GB, free: 4.004 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.625, allocations: 16 kB / 1.541 GB, free: 3.988 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.6257, allocations: 21.67 kB / 1.541 GB, free: 3.969 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6258, allocations: 48.5 kB / 1.541 GB, free: 3.922 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.6258, allocations: 24 kB / 1.541 GB, free: 3.898 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006235/0.6264, allocations: 455 kB / 1.542 GB, free: 3.457 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6264, allocations: 0 / 1.542 GB, free: 3.457 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008845/0.6273, allocations: 347.3 kB / 1.542 GB, free: 3.117 MB / 1.232 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.00252/0.6299, allocations: 1.833 MB / 1.544 GB, free: 1.258 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.6311, allocations: 0.6496 MB / 1.544 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6311, allocations: 0 / 1.544 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.6316, allocations: 351.6 kB / 1.545 GB, free: 272 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.6342, allocations: 0.5438 MB / 1.545 GB, free: 15.73 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.6453, allocations: 6.98 MB / 1.552 GB, free: 8.59 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.6459, allocations: 0.4948 MB / 1.552 GB, free: 8.062 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00091/0.6468, allocations: 227.2 kB / 1.553 GB, free: 7.836 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.6474, allocations: 359.3 kB / 1.553 GB, free: 7.484 MB / 1.248 GB Notification: Performance of SimCode: time 8.21e-07/0.6474, allocations: 4 kB / 1.553 GB, free: 7.48 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07041/0.7178, allocations: 28.02 MB / 1.58 GB, free: 12.07 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.91, allocations: 3.938 kB / 1.58 GB, free: 12.06 MB / 1.279 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volA.T from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable volOut.T in file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volOut.T from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutBot.v in file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutBot.v from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutTop.v in file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutTop.v from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.801142404787242]