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.001502/0.001502, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001694/0.001694, allocations: 212.8 kB / 22.25 MB, free: 5.262 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.785 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.124/3.124, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.001982/0.001982, allocations: 67.66 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2112/0.5693, allocations: 178.9 MB / 1.501 GB, free: 13.94 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.581, allocations: 6.922 MB / 1.507 GB, free: 7 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.5822, allocations: 55.56 kB / 1.507 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.5839, allocations: 0.6603 MB / 1.508 GB, free: 6.281 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006025/0.5899, allocations: 2.529 MB / 1.51 GB, free: 3.742 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.593, allocations: 1.262 MB / 1.512 GB, free: 2.48 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003698/0.5967, allocations: 2.982 MB / 1.515 GB, free: 15.49 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.5977, allocations: 0.7172 MB / 1.515 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.5997, allocations: 1.199 MB / 1.516 GB, free: 13.55 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.6015, allocations: 1.022 MB / 1.517 GB, free: 12.53 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.6017, allocations: 108 kB / 1.518 GB, free: 12.42 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.6053, allocations: 1.768 MB / 1.519 GB, free: 10.65 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.6059, allocations: 458.6 kB / 1.52 GB, free: 10.2 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006895/0.6065, allocations: 0.5563 MB / 1.52 GB, free: 9.641 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.6102, allocations: 2.356 MB / 1.523 GB, free: 7.277 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6102, allocations: 0 / 1.523 GB, free: 7.277 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6102, allocations: 0 / 1.523 GB, free: 7.277 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.6102, allocations: 0 / 1.523 GB, free: 7.277 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.003238/0.6135, allocations: 1.597 MB / 1.524 GB, free: 5.645 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.6135, allocations: 12.03 kB / 1.524 GB, free: 5.633 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.6137, allocations: 131.3 kB / 1.524 GB, free: 5.496 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.616, allocations: 378.9 kB / 1.525 GB, free: 5.125 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.6176, allocations: 0.7915 MB / 1.525 GB, free: 4.305 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.6176, allocations: 62 kB / 1.525 GB, free: 4.242 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.6178, allocations: 84 kB / 1.526 GB, free: 4.16 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.6196, allocations: 1.25 MB / 1.527 GB, free: 2.828 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.6197, allocations: 0 / 1.527 GB, free: 2.828 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/0.6198, allocations: 36 kB / 1.527 GB, free: 2.793 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.6198, allocations: 45.98 kB / 1.527 GB, free: 2.746 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.6213, allocations: 0.8783 MB / 1.528 GB, free: 1.867 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.004601/0.6259, allocations: 2.869 MB / 1.53 GB, free: 14.91 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.6271, allocations: 0.6674 MB / 1.531 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.6278, allocations: 435.2 kB / 1.532 GB, free: 13.81 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.6282, allocations: 80.58 kB / 1.532 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6282, allocations: 39.22 kB / 1.532 GB, free: 13.69 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 2.354e-06/0.6282, allocations: 3.938 kB / 1.532 GB, free: 13.68 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.00195/0.6302, allocations: 0.9933 MB / 1.533 GB, free: 12.68 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.6302, allocations: 60.06 kB / 1.533 GB, free: 12.61 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/0.6311, allocations: 0.6411 MB / 1.533 GB, free: 11.97 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.6311, allocations: 45.58 kB / 1.533 GB, free: 11.92 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.6315, allocations: 444.8 kB / 1.534 GB, free: 11.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.6317, allocations: 253.8 kB / 1.534 GB, free: 11.23 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.6319, allocations: 122.3 kB / 1.534 GB, free: 11.1 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.6321, allocations: 390.8 kB / 1.535 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.6326, allocations: 269.2 kB / 1.535 GB, free: 10.45 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.6331, allocations: 361 kB / 1.535 GB, free: 10.07 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6342, allocations: 0.6591 MB / 1.536 GB, free: 9.391 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.6342, allocations: 4 kB / 1.536 GB, free: 9.387 MB / 1.232 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001342/0.6355, allocations: 0.7934 MB / 1.537 GB, free: 8.586 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.6355, allocations: 8 kB / 1.537 GB, free: 8.578 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6356, allocations: 0 / 1.537 GB, free: 8.578 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.6356, allocations: 8.188 kB / 1.537 GB, free: 8.57 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.6362, allocations: 143.8 kB / 1.537 GB, free: 8.43 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.6362, allocations: 4 kB / 1.537 GB, free: 8.426 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.637, allocations: 63.48 kB / 1.537 GB, free: 8.363 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.637, allocations: 24 kB / 1.537 GB, free: 8.34 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.0004607/0.6375, allocations: 287.9 kB / 1.537 GB, free: 8.051 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6376, allocations: 83.48 kB / 1.537 GB, free: 7.969 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.6391, allocations: 0.798 MB / 1.538 GB, free: 7.16 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6391, allocations: 8 kB / 1.538 GB, free: 7.152 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.6391, allocations: 7.938 kB / 1.538 GB, free: 7.145 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.6402, allocations: 0.8136 MB / 1.539 GB, free: 6.281 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.6429, allocations: 1.691 MB / 1.54 GB, free: 4.539 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6429, allocations: 4 kB / 1.54 GB, free: 4.535 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008001/0.6437, allocations: 167.8 kB / 1.541 GB, free: 4.371 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6437, allocations: 0 / 1.541 GB, free: 4.371 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.6438, allocations: 16 kB / 1.541 GB, free: 4.355 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6438, allocations: 0 / 1.541 GB, free: 4.355 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.6438, allocations: 0 / 1.541 GB, free: 4.355 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.6456, allocations: 1.202 MB / 1.542 GB, free: 3.137 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.646, allocations: 175.2 kB / 1.542 GB, free: 2.965 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6461, allocations: 19.98 kB / 1.542 GB, free: 2.945 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.6467, allocations: 17.31 kB / 1.542 GB, free: 2.93 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.6468, allocations: 52.5 kB / 1.542 GB, free: 2.879 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.6468, allocations: 23.98 kB / 1.542 GB, free: 2.855 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005574/0.6474, allocations: 455 kB / 1.542 GB, free: 2.414 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6474, allocations: 0 / 1.542 GB, free: 2.414 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008272/0.6482, allocations: 343.3 kB / 1.543 GB, free: 2.078 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.002259/0.6505, allocations: 1.843 MB / 1.545 GB, free: 212 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.6516, allocations: 0.6419 MB / 1.545 GB, free: 15.56 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6516, allocations: 0 / 1.545 GB, free: 15.56 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.6522, allocations: 351.6 kB / 1.546 GB, free: 15.22 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.6544, allocations: 0.5497 MB / 1.546 GB, free: 14.69 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009707/0.6641, allocations: 6.979 MB / 1.553 GB, free: 7.547 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.6646, allocations: 498.6 kB / 1.553 GB, free: 7.027 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008365/0.6655, allocations: 231.2 kB / 1.554 GB, free: 6.797 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/0.666, allocations: 359.3 kB / 1.554 GB, free: 6.445 MB / 1.248 GB Notification: Performance of SimCode: time 1.352e-06/0.666, allocations: 0 / 1.554 GB, free: 6.445 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06236/0.7283, allocations: 28.25 MB / 1.582 GB, free: 10.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.07, allocations: 3.266 kB / 1.582 GB, free: 10.8 MB / 1.279 GB " [Timeout remaining time 288] (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: 18.906759930978296]