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.001311/0.001311, allocations: 110.3 kB / 16.46 MB, free: 6.508 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.001474/0.001474, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.266/3.266, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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.002104/0.002104, allocations: 76.33 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4154, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2478/0.6633, allocations: 205.7 MB / 1.522 GB, free: 4.848 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.6762, allocations: 7.424 MB / 1.529 GB, free: 13.41 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.6778, allocations: 47.62 kB / 1.529 GB, free: 13.36 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.6801, allocations: 0.7304 MB / 1.53 GB, free: 12.62 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006919/0.687, allocations: 2.485 MB / 1.532 GB, free: 10.13 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.6905, allocations: 1.25 MB / 1.533 GB, free: 8.879 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004379/0.6949, allocations: 2.907 MB / 1.536 GB, free: 5.965 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.6964, allocations: 0.783 MB / 1.537 GB, free: 5.16 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.6989, allocations: 1.188 MB / 1.538 GB, free: 3.969 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.7015, allocations: 1.016 MB / 1.539 GB, free: 2.953 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.7018, allocations: 108 kB / 1.539 GB, free: 2.848 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004855/0.7067, allocations: 2.256 MB / 1.541 GB, free: 0.5859 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008036/0.7075, allocations: 470.5 kB / 1.542 GB, free: 128 kB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.709, allocations: 0.6613 MB / 1.542 GB, free: 15.46 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005263/0.7143, allocations: 2.41 MB / 1.545 GB, free: 13.04 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.7143, allocations: 4 kB / 1.545 GB, free: 13.04 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7143, allocations: 0 / 1.545 GB, free: 13.04 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.566e-05/0.7144, allocations: 0 / 1.545 GB, free: 13.04 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.004425/0.7188, allocations: 1.669 MB / 1.546 GB, free: 11.32 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7188, allocations: 15.98 kB / 1.547 GB, free: 11.3 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002754/0.7191, allocations: 135.3 kB / 1.547 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.7218, allocations: 382.8 kB / 1.547 GB, free: 10.79 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.7236, allocations: 0.8675 MB / 1.548 GB, free: 9.875 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.7236, allocations: 62 kB / 1.548 GB, free: 9.812 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.7238, allocations: 87.98 kB / 1.548 GB, free: 9.727 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.7258, allocations: 1.042 MB / 1.549 GB, free: 8.652 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.7258, allocations: 0 / 1.549 GB, free: 8.652 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.7259, allocations: 36 kB / 1.549 GB, free: 8.617 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/0.726, allocations: 49.92 kB / 1.549 GB, free: 8.566 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.7278, allocations: 0.8783 MB / 1.55 GB, free: 7.688 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.005876/0.7336, allocations: 4.391 MB / 1.554 GB, free: 2.922 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.7349, allocations: 0.6667 MB / 1.555 GB, free: 2.242 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/0.7358, allocations: 436.6 kB / 1.555 GB, free: 1.816 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.7365, allocations: 0.6732 MB / 1.556 GB, free: 0.9961 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.7366, allocations: 39.12 kB / 1.556 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/0.7366, allocations: 0 / 1.556 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of matching and sorting (n=70): time 0.002203/0.7388, allocations: 0.9983 MB / 1.557 GB, free: 15.94 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.7388, allocations: 59.97 kB / 1.557 GB, free: 15.87 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/0.7398, allocations: 0.6411 MB / 1.558 GB, free: 15.23 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.7399, allocations: 37.7 kB / 1.558 GB, free: 15.18 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.7402, allocations: 440.7 kB / 1.558 GB, free: 14.75 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.7405, allocations: 265.7 kB / 1.558 GB, free: 14.49 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.7408, allocations: 122.3 kB / 1.558 GB, free: 14.36 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.741, allocations: 386.8 kB / 1.559 GB, free: 13.98 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/0.7415, allocations: 273.2 kB / 1.559 GB, free: 13.71 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.7421, allocations: 365 kB / 1.559 GB, free: 13.33 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.7433, allocations: 0.6586 MB / 1.56 GB, free: 12.65 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7433, allocations: 0 / 1.56 GB, free: 12.65 MB / 1.264 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001714/0.745, allocations: 0.7974 MB / 1.561 GB, free: 11.85 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.745, allocations: 7.984 kB / 1.561 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.745, allocations: 4 kB / 1.561 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.7451, allocations: 4 kB / 1.561 GB, free: 11.83 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/0.7458, allocations: 143.8 kB / 1.561 GB, free: 11.69 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.7458, allocations: 7.938 kB / 1.561 GB, free: 11.68 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009785/0.7468, allocations: 59.72 kB / 1.561 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.7468, allocations: 28 kB / 1.561 GB, free: 11.6 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.0006034/0.7475, allocations: 283.4 kB / 1.561 GB, free: 11.31 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.7478, allocations: 91.47 kB / 1.561 GB, free: 11.22 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.7495, allocations: 0.7958 MB / 1.562 GB, free: 10.4 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.7495, allocations: 4 kB / 1.562 GB, free: 10.4 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.7495, allocations: 7.938 kB / 1.562 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001309/0.7508, allocations: 0.8191 MB / 1.563 GB, free: 9.523 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.7542, allocations: 1.853 MB / 1.565 GB, free: 7.617 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.7542, allocations: 4 kB / 1.565 GB, free: 7.613 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.7551, allocations: 167.8 kB / 1.565 GB, free: 7.449 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.7551, allocations: 0 / 1.565 GB, free: 7.449 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.7552, allocations: 20 kB / 1.565 GB, free: 7.43 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.7552, allocations: 3.984 kB / 1.565 GB, free: 7.426 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.7552, allocations: 4 kB / 1.565 GB, free: 7.422 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.7573, allocations: 1.199 MB / 1.566 GB, free: 6.207 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/0.7578, allocations: 248.4 kB / 1.566 GB, free: 5.945 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.758, allocations: 16 kB / 1.566 GB, free: 5.93 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.7587, allocations: 23.98 kB / 1.567 GB, free: 5.906 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.7588, allocations: 44.44 kB / 1.567 GB, free: 5.863 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.7589, allocations: 27.98 kB / 1.567 GB, free: 5.836 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006713/0.7596, allocations: 451 kB / 1.567 GB, free: 5.398 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7596, allocations: 0 / 1.567 GB, free: 5.398 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00107/0.7606, allocations: 347.3 kB / 1.567 GB, free: 5.059 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.002605/0.7632, allocations: 1.832 MB / 1.569 GB, free: 3.199 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.7645, allocations: 0.6485 MB / 1.57 GB, free: 2.547 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7645, allocations: 0 / 1.57 GB, free: 2.547 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.7651, allocations: 355 kB / 1.57 GB, free: 2.199 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.7677, allocations: 0.5432 MB / 1.571 GB, free: 1.672 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.7794, allocations: 6.967 MB / 1.577 GB, free: 10.54 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.7805, allocations: 1.096 MB / 1.579 GB, free: 9.422 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008776/0.7813, allocations: 227.2 kB / 1.579 GB, free: 9.195 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/0.7819, allocations: 351.3 kB / 1.579 GB, free: 8.852 MB / 1.279 GB Notification: Performance of SimCode: time 1.212e-06/0.7819, allocations: 4 kB / 1.579 GB, free: 8.848 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7678/1.55, allocations: 25.4 MB / 1.604 GB, free: 283.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.8, allocations: 8.344 kB / 1.604 GB, free: 283.4 MB / 1.295 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.799009904032573]