Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 59.91 kB / 1.107 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6977, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2083/0.906, allocations: 203.1 MB / 1.47 GB, free: 9.504 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009946/0.916, allocations: 7.429 MB / 1.477 GB, free: 2.059 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.9164, allocations: 39.81 kB / 1.477 GB, free: 2.02 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.9179, allocations: 0.7265 MB / 1.478 GB, free: 1.289 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004441/0.9224, allocations: 2.49 MB / 1.48 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.9248, allocations: 1.267 MB / 1.481 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.9277, allocations: 2.928 MB / 1.484 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.9285, allocations: 0.7088 MB / 1.485 GB, free: 9.859 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.9297, allocations: 1.055 MB / 1.486 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.9312, allocations: 1.024 MB / 1.487 GB, free: 7.777 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.9314, allocations: 108 kB / 1.487 GB, free: 7.672 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.9345, allocations: 2.26 MB / 1.489 GB, free: 5.406 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.9349, allocations: 470.5 kB / 1.49 GB, free: 4.945 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.9355, allocations: 0.665 MB / 1.49 GB, free: 4.277 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.9382, allocations: 2.414 MB / 1.493 GB, free: 1.855 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.9382, allocations: 0 / 1.493 GB, free: 1.855 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9382, allocations: 0 / 1.493 GB, free: 1.855 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.9382, allocations: 0 / 1.493 GB, free: 1.855 MB / 1.17 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.002874/0.9411, allocations: 1.661 MB / 1.494 GB, free: 144 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.9411, allocations: 8.031 kB / 1.494 GB, free: 136 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.9413, allocations: 139.3 kB / 1.495 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.9436, allocations: 378.9 kB / 1.495 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.9448, allocations: 0.8558 MB / 1.496 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.9449, allocations: 69.98 kB / 1.496 GB, free: 14.65 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.945, allocations: 87.95 kB / 1.496 GB, free: 14.56 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.9466, allocations: 1.042 MB / 1.497 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9466, allocations: 8 kB / 1.497 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.9467, allocations: 32 kB / 1.497 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.9467, allocations: 53.86 kB / 1.497 GB, free: 13.39 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.9482, allocations: 0.8744 MB / 1.498 GB, free: 12.52 MB / 1.186 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.004562/0.9528, allocations: 4.3 MB / 1.502 GB, free: 7.859 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.9539, allocations: 0.663 MB / 1.503 GB, free: 7.191 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.9547, allocations: 442.8 kB / 1.503 GB, free: 6.758 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000611/0.9553, allocations: 0.6771 MB / 1.504 GB, free: 5.934 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.9553, allocations: 43.12 kB / 1.504 GB, free: 5.883 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 1.653e-06/0.9553, allocations: 0 / 1.504 GB, free: 5.883 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001785/0.9571, allocations: 0.9982 MB / 1.505 GB, free: 4.883 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.9571, allocations: 67.91 kB / 1.505 GB, free: 4.801 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/0.9578, allocations: 0.6333 MB / 1.505 GB, free: 4.164 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.9579, allocations: 41.7 kB / 1.506 GB, free: 4.117 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.9582, allocations: 436.8 kB / 1.506 GB, free: 3.684 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.9584, allocations: 257.8 kB / 1.506 GB, free: 3.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.9586, allocations: 122.2 kB / 1.506 GB, free: 3.305 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.9588, allocations: 386.8 kB / 1.507 GB, free: 2.918 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.9592, allocations: 281.1 kB / 1.507 GB, free: 2.645 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.9597, allocations: 361 kB / 1.507 GB, free: 2.273 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.9607, allocations: 0.6626 MB / 1.508 GB, free: 1.594 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9607, allocations: 0 / 1.508 GB, free: 1.594 MB / 1.186 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001231/0.962, allocations: 0.7896 MB / 1.509 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.962, allocations: 7.984 kB / 1.509 GB, free: 0.7891 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.962, allocations: 8.188 kB / 1.509 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.962, allocations: 4 kB / 1.509 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.9626, allocations: 147.8 kB / 1.509 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.9626, allocations: 4 kB / 1.509 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.9633, allocations: 59.48 kB / 1.509 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.9633, allocations: 24 kB / 1.509 GB, free: 0.5469 MB / 1.186 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.0003373/0.9636, allocations: 281.7 kB / 1.509 GB, free: 268 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.9638, allocations: 95.42 kB / 1.509 GB, free: 172 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.9651, allocations: 0.792 MB / 1.51 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9651, allocations: 8 kB / 1.51 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9652, allocations: 3.938 kB / 1.51 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.9662, allocations: 0.8152 MB / 1.511 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.9687, allocations: 1.861 MB / 1.513 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9687, allocations: 0 / 1.513 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.9695, allocations: 167.8 kB / 1.513 GB, free: 12.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.9695, allocations: 4 kB / 1.513 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.9695, allocations: 12 kB / 1.513 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.9695, allocations: 7.984 kB / 1.513 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9695, allocations: 4 kB / 1.513 GB, free: 12.37 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.9712, allocations: 1.199 MB / 1.514 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.9715, allocations: 252.3 kB / 1.514 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.9716, allocations: 16 kB / 1.514 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.9722, allocations: 20.92 kB / 1.514 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.9723, allocations: 44.5 kB / 1.514 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.9724, allocations: 27.98 kB / 1.514 GB, free: 10.79 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005273/0.9729, allocations: 455 kB / 1.515 GB, free: 10.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.9729, allocations: 0 / 1.515 GB, free: 10.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006765/0.9736, allocations: 339.4 kB / 1.515 GB, free: 10.01 MB / 1.201 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.002155/0.9757, allocations: 1.845 MB / 1.517 GB, free: 8.137 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.9768, allocations: 0.6483 MB / 1.518 GB, free: 7.492 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9768, allocations: 0 / 1.518 GB, free: 7.492 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005213/0.9773, allocations: 351 kB / 1.518 GB, free: 7.148 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.9794, allocations: 0.5465 MB / 1.518 GB, free: 6.621 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00913/0.9885, allocations: 6.976 MB / 1.525 GB, free: 15.48 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.9892, allocations: 1.092 MB / 1.526 GB, free: 14.36 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006473/0.9899, allocations: 223.2 kB / 1.527 GB, free: 14.13 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.9904, allocations: 355.3 kB / 1.527 GB, free: 13.79 MB / 1.217 GB Notification: Performance of SimCode: time 4e-07/0.9904, allocations: 0 / 1.527 GB, free: 13.79 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05436/1.045, allocations: 25.46 MB / 1.552 GB, free: 4.664 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/9.267, allocations: 18.03 kB / 1.552 GB, free: 4.648 MB / 1.233 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[502]=7200.000000 File[1409]=4498.560000 Error: Could not read variable volA.T in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volA.T from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable volOut.T in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volOut.T from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutBot.v in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutBot.v from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutTop.v in file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutTop.v from file Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 414.50691975899827]