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.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.001789/0.001789, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002308/0.002308, allocations: 216 kB / 22.25 MB, free: 5.117 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476.7 MB / 0.7707 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002092/0.002092, allocations: 67.98 kB / 1.117 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2439/0.6086, allocations: 206.1 MB / 1.485 GB, free: 12.76 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.6209, allocations: 7.441 MB / 1.492 GB, free: 5.309 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.6225, allocations: 51.56 kB / 1.492 GB, free: 5.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.6246, allocations: 0.7304 MB / 1.493 GB, free: 4.523 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006579/0.6311, allocations: 2.536 MB / 1.495 GB, free: 1.977 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.6345, allocations: 1.279 MB / 1.496 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004486/0.639, allocations: 2.989 MB / 1.499 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.6403, allocations: 0.7055 MB / 1.5 GB, free: 12.97 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.6423, allocations: 1.078 MB / 1.501 GB, free: 11.89 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.6447, allocations: 1.033 MB / 1.502 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.6449, allocations: 108 kB / 1.502 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.6497, allocations: 2.299 MB / 1.504 GB, free: 8.449 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007498/0.6505, allocations: 474.5 kB / 1.505 GB, free: 7.984 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.6516, allocations: 0.6495 MB / 1.505 GB, free: 7.332 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.6568, allocations: 2.427 MB / 1.508 GB, free: 4.898 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6568, allocations: 0 / 1.508 GB, free: 4.898 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6568, allocations: 0 / 1.508 GB, free: 4.898 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.005e-05/0.6569, allocations: 0 / 1.508 GB, free: 4.898 MB / 1.201 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.003807/0.6607, allocations: 1.593 MB / 1.509 GB, free: 3.27 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6607, allocations: 12.03 kB / 1.509 GB, free: 3.258 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.6609, allocations: 135.3 kB / 1.51 GB, free: 3.117 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.6635, allocations: 382.9 kB / 1.51 GB, free: 2.742 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.6654, allocations: 0.7798 MB / 1.511 GB, free: 1.938 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.6654, allocations: 66 kB / 1.511 GB, free: 1.871 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.6656, allocations: 95.92 kB / 1.511 GB, free: 1.777 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.6674, allocations: 1.034 MB / 1.512 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.6674, allocations: 4 kB / 1.512 GB, free: 0.707 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.6675, allocations: 36 kB / 1.512 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.6676, allocations: 41.98 kB / 1.512 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.6692, allocations: 0.8822 MB / 1.513 GB, free: 15.75 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.005709/0.6749, allocations: 4.262 MB / 1.517 GB, free: 11.13 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.6761, allocations: 0.6633 MB / 1.518 GB, free: 10.46 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008534/0.677, allocations: 439.2 kB / 1.518 GB, free: 10.03 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003905/0.6774, allocations: 76.58 kB / 1.518 GB, free: 9.957 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.6774, allocations: 39.22 kB / 1.518 GB, free: 9.91 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 2.044e-06/0.6774, allocations: 4 kB / 1.518 GB, free: 9.906 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.002017/0.6794, allocations: 0.9972 MB / 1.519 GB, free: 8.902 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.6795, allocations: 64.06 kB / 1.519 GB, free: 8.828 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.6803, allocations: 0.6372 MB / 1.52 GB, free: 8.184 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.6804, allocations: 41.64 kB / 1.52 GB, free: 8.137 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.6807, allocations: 436.8 kB / 1.52 GB, free: 7.703 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.681, allocations: 257.7 kB / 1.52 GB, free: 7.449 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.6812, allocations: 118.3 kB / 1.521 GB, free: 7.328 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.6814, allocations: 390.8 kB / 1.521 GB, free: 6.938 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.6819, allocations: 273.2 kB / 1.521 GB, free: 6.672 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.6824, allocations: 357 kB / 1.522 GB, free: 6.301 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.6835, allocations: 0.663 MB / 1.522 GB, free: 5.613 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6835, allocations: 3.938 kB / 1.522 GB, free: 5.609 MB / 1.217 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001402/0.6849, allocations: 0.8012 MB / 1.523 GB, free: 4.801 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6849, allocations: 7.938 kB / 1.523 GB, free: 4.793 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.6849, allocations: 8.172 kB / 1.523 GB, free: 4.785 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6849, allocations: 8 kB / 1.523 GB, free: 4.777 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.6856, allocations: 143.8 kB / 1.523 GB, free: 4.637 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.6856, allocations: 4 kB / 1.523 GB, free: 4.633 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.6864, allocations: 55.55 kB / 1.523 GB, free: 4.578 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.6864, allocations: 28 kB / 1.523 GB, free: 4.551 MB / 1.217 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.0005111/0.687, allocations: 289.6 kB / 1.524 GB, free: 4.258 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.6871, allocations: 91.48 kB / 1.524 GB, free: 4.168 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.6886, allocations: 0.7903 MB / 1.524 GB, free: 3.363 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.6886, allocations: 4 kB / 1.524 GB, free: 3.359 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6886, allocations: 3.938 kB / 1.524 GB, free: 3.355 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/0.6898, allocations: 0.8253 MB / 1.525 GB, free: 2.48 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.6929, allocations: 1.831 MB / 1.527 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6929, allocations: 0 / 1.527 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.6937, allocations: 167.8 kB / 1.527 GB, free: 448 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.6937, allocations: 4 kB / 1.527 GB, free: 444 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.6938, allocations: 16 kB / 1.527 GB, free: 428 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.6938, allocations: 4 kB / 1.527 GB, free: 424 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.6938, allocations: 7.984 kB / 1.527 GB, free: 416 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.6957, allocations: 1.202 MB / 1.528 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.6962, allocations: 175.2 kB / 1.529 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.6963, allocations: 12 kB / 1.529 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.6969, allocations: 27.92 kB / 1.529 GB, free: 14.97 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.697, allocations: 48.5 kB / 1.529 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.6971, allocations: 24 kB / 1.529 GB, free: 14.9 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005892/0.6977, allocations: 455 kB / 1.529 GB, free: 14.46 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6977, allocations: 0 / 1.529 GB, free: 14.46 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008943/0.6986, allocations: 343.4 kB / 1.529 GB, free: 14.12 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.002414/0.701, allocations: 1.839 MB / 1.531 GB, free: 12.26 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.7022, allocations: 0.6419 MB / 1.532 GB, free: 11.62 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.7022, allocations: 3.984 kB / 1.532 GB, free: 11.61 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.7027, allocations: 347.6 kB / 1.532 GB, free: 11.27 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.7051, allocations: 0.5497 MB / 1.533 GB, free: 10.74 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7157, allocations: 6.983 MB / 1.54 GB, free: 3.594 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.7165, allocations: 1.085 MB / 1.541 GB, free: 2.484 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008636/0.7174, allocations: 227.2 kB / 1.541 GB, free: 2.258 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.7179, allocations: 359.3 kB / 1.541 GB, free: 1.906 MB / 1.232 GB Notification: Performance of SimCode: time 9.62e-07/0.7179, allocations: 0 / 1.541 GB, free: 1.906 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06632/0.7842, allocations: 25.98 MB / 1.566 GB, free: 8.32 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.82, allocations: 9.703 kB / 1.567 GB, free: 8.316 MB / 1.264 GB " [Timeout remaining time 286] (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] "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: 19.93306664099964]