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.001353/0.001353, allocations: 113 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.001499/0.001499, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.431/1.431, 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 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.098/3.098, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.002042/0.002042, allocations: 67.05 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3583, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2401/0.5984, allocations: 206.2 MB / 1.527 GB, free: 3.039 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.6117, allocations: 7.444 MB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.6137, allocations: 47.62 kB / 1.535 GB, free: 11.53 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.6163, allocations: 0.7343 MB / 1.535 GB, free: 10.79 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007461/0.6237, allocations: 2.528 MB / 1.538 GB, free: 8.25 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.6275, allocations: 1.295 MB / 1.539 GB, free: 6.957 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005088/0.6326, allocations: 2.981 MB / 1.542 GB, free: 3.965 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.6341, allocations: 0.7133 MB / 1.543 GB, free: 3.23 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.6369, allocations: 1.195 MB / 1.544 GB, free: 2.031 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.6396, allocations: 1.014 MB / 1.545 GB, free: 1.02 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.6399, allocations: 112 kB / 1.545 GB, free: 0.9102 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.645, allocations: 2.287 MB / 1.547 GB, free: 14.61 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007683/0.6457, allocations: 470.4 kB / 1.548 GB, free: 14.16 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.6469, allocations: 0.6651 MB / 1.548 GB, free: 13.49 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005485/0.6524, allocations: 2.41 MB / 1.551 GB, free: 11.07 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6524, allocations: 0 / 1.551 GB, free: 11.07 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6524, allocations: 4 kB / 1.551 GB, free: 11.07 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.384e-05/0.6524, allocations: 0 / 1.551 GB, free: 11.07 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.004089/0.6565, allocations: 1.593 MB / 1.552 GB, free: 9.438 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.6566, allocations: 12.03 kB / 1.552 GB, free: 9.426 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.6568, allocations: 135.3 kB / 1.552 GB, free: 9.285 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.6596, allocations: 382.9 kB / 1.553 GB, free: 8.91 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.6615, allocations: 0.7876 MB / 1.553 GB, free: 8.094 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.6616, allocations: 66 kB / 1.553 GB, free: 8.027 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.6617, allocations: 87.98 kB / 1.554 GB, free: 7.941 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.6636, allocations: 1.042 MB / 1.555 GB, free: 6.867 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.6636, allocations: 3.984 kB / 1.555 GB, free: 6.863 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.6637, allocations: 35.98 kB / 1.555 GB, free: 6.828 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.6638, allocations: 49.92 kB / 1.555 GB, free: 6.777 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.6655, allocations: 0.8822 MB / 1.555 GB, free: 5.895 MB / 1.248 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.006473/0.672, allocations: 4.333 MB / 1.56 GB, free: 1.188 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.6733, allocations: 0.667 MB / 1.56 GB, free: 0.5156 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008404/0.6741, allocations: 427.2 kB / 1.561 GB, free: 100 kB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/0.6745, allocations: 84.58 kB / 1.561 GB, free: 16 kB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.6746, allocations: 43.22 kB / 1.561 GB, free: 15.96 MB / 1.264 GB Notification: Performance of pre-optimization done (n=70): time 5.059e-06/0.6746, allocations: 3.984 kB / 1.561 GB, free: 15.96 MB / 1.264 GB Notification: Performance of matching and sorting (n=70): time 0.002147/0.6767, allocations: 0.9971 MB / 1.562 GB, free: 14.96 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.6768, allocations: 64.06 kB / 1.562 GB, free: 14.88 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6778, allocations: 0.6333 MB / 1.563 GB, free: 14.25 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.6779, allocations: 41.7 kB / 1.563 GB, free: 14.2 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.6783, allocations: 440.8 kB / 1.563 GB, free: 13.76 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.6786, allocations: 261.7 kB / 1.563 GB, free: 13.5 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.6788, allocations: 110.3 kB / 1.563 GB, free: 13.39 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002453/0.6791, allocations: 394.7 kB / 1.564 GB, free: 13 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.6796, allocations: 277.2 kB / 1.564 GB, free: 12.72 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.6801, allocations: 353.1 kB / 1.564 GB, free: 12.36 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.6813, allocations: 0.6629 MB / 1.565 GB, free: 11.67 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.6813, allocations: 0 / 1.565 GB, free: 11.67 MB / 1.264 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001447/0.6827, allocations: 0.8013 MB / 1.566 GB, free: 10.86 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6828, allocations: 5.875 kB / 1.566 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6828, allocations: 11.94 kB / 1.566 GB, free: 10.85 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.6828, allocations: 4 kB / 1.566 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.6834, allocations: 139.8 kB / 1.566 GB, free: 10.71 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.6835, allocations: 7.938 kB / 1.566 GB, free: 10.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.6842, allocations: 59.55 kB / 1.566 GB, free: 10.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.6843, allocations: 24.19 kB / 1.566 GB, free: 10.62 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.0005912/0.6849, allocations: 294.1 kB / 1.566 GB, free: 10.32 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.6851, allocations: 87.48 kB / 1.566 GB, free: 10.23 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.6866, allocations: 0.7903 MB / 1.567 GB, free: 9.434 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6866, allocations: 15.94 kB / 1.567 GB, free: 9.418 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6866, allocations: 3.938 kB / 1.567 GB, free: 9.414 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.6878, allocations: 0.8135 MB / 1.568 GB, free: 8.551 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.6908, allocations: 1.831 MB / 1.57 GB, free: 6.668 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6908, allocations: 3.938 kB / 1.57 GB, free: 6.664 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/0.6916, allocations: 159.8 kB / 1.57 GB, free: 6.508 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.6916, allocations: 8 kB / 1.57 GB, free: 6.5 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.6917, allocations: 15.98 kB / 1.57 GB, free: 6.484 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.6917, allocations: 4 kB / 1.57 GB, free: 6.48 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6917, allocations: 0 / 1.57 GB, free: 6.48 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.6937, allocations: 1.206 MB / 1.571 GB, free: 5.258 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.6942, allocations: 175.1 kB / 1.571 GB, free: 5.086 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6943, allocations: 20 kB / 1.571 GB, free: 5.066 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.6949, allocations: 25.86 kB / 1.571 GB, free: 5.043 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6951, allocations: 48.56 kB / 1.571 GB, free: 4.996 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.6951, allocations: 19.98 kB / 1.571 GB, free: 4.977 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000627/0.6957, allocations: 459 kB / 1.572 GB, free: 4.531 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6957, allocations: 0 / 1.572 GB, free: 4.531 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009311/0.6967, allocations: 335.3 kB / 1.572 GB, free: 4.203 MB / 1.264 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.002454/0.6991, allocations: 1.837 MB / 1.574 GB, free: 2.34 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.7004, allocations: 0.646 MB / 1.575 GB, free: 1.691 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7004, allocations: 4.125 kB / 1.575 GB, free: 1.688 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.701, allocations: 355.5 kB / 1.575 GB, free: 1.344 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.7034, allocations: 0.5484 MB / 1.575 GB, free: 0.8086 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.7146, allocations: 6.971 MB / 1.582 GB, free: 9.672 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/0.7154, allocations: 1.085 MB / 1.583 GB, free: 8.555 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000952/0.7164, allocations: 223.2 kB / 1.584 GB, free: 8.332 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.7169, allocations: 363.2 kB / 1.584 GB, free: 7.977 MB / 1.279 GB Notification: Performance of SimCode: time 1.012e-06/0.7169, allocations: 0 / 1.584 GB, free: 7.977 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.762/1.479, allocations: 25.98 MB / 1.609 GB, free: 280 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/13.36, allocations: 7.688 kB / 1.609 GB, free: 280 MB / 1.295 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.973694211999828]