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.001626/0.001626, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002118/0.002118, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.383/3.383, allocations: 0.4892 GB / 0.7951 GB, free: 35.77 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: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [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.002125/0.002125, allocations: 68.06 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4568, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2534/0.7103, allocations: 178.9 MB / 1.501 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.7242, allocations: 6.929 MB / 1.508 GB, free: 7.418 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.7261, allocations: 51.62 kB / 1.508 GB, free: 7.367 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.7283, allocations: 0.6603 MB / 1.508 GB, free: 6.703 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.7362, allocations: 2.517 MB / 1.511 GB, free: 4.176 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.7402, allocations: 1.257 MB / 1.512 GB, free: 2.918 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00489/0.7451, allocations: 2.958 MB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.7464, allocations: 0.7093 MB / 1.516 GB, free: 15.22 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.7488, allocations: 1.203 MB / 1.517 GB, free: 14.01 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.7509, allocations: 0.9718 MB / 1.518 GB, free: 13.04 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.7511, allocations: 108 kB / 1.518 GB, free: 12.94 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/0.7556, allocations: 1.749 MB / 1.52 GB, free: 11.18 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006044/0.7562, allocations: 458.6 kB / 1.52 GB, free: 10.73 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007461/0.757, allocations: 0.5602 MB / 1.521 GB, free: 10.17 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004346/0.7613, allocations: 2.36 MB / 1.523 GB, free: 7.805 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.7613, allocations: 0 / 1.523 GB, free: 7.805 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.336e-06/0.7613, allocations: 3.938 kB / 1.523 GB, free: 7.801 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.7613, allocations: 0 / 1.523 GB, free: 7.801 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.00354/0.7649, allocations: 1.578 MB / 1.524 GB, free: 6.188 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.7649, allocations: 12.03 kB / 1.524 GB, free: 6.176 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.7673, allocations: 382.9 kB / 1.525 GB, free: 5.801 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.769, allocations: 0.7914 MB / 1.526 GB, free: 4.98 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.769, allocations: 62 kB / 1.526 GB, free: 4.918 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.7692, allocations: 84 kB / 1.526 GB, free: 4.836 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.7712, allocations: 1.25 MB / 1.527 GB, free: 3.504 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.7712, allocations: 3.938 kB / 1.527 GB, free: 3.5 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.7713, allocations: 35.94 kB / 1.527 GB, free: 3.465 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.251e-05/0.7714, allocations: 49.97 kB / 1.527 GB, free: 3.414 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.773, allocations: 0.8783 MB / 1.528 GB, free: 2.535 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.004586/0.7776, allocations: 2.745 MB / 1.531 GB, free: 15.71 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.7788, allocations: 0.6597 MB / 1.531 GB, free: 15.05 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008464/0.7796, allocations: 432.5 kB / 1.532 GB, free: 14.63 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.78, allocations: 76.59 kB / 1.532 GB, free: 14.55 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.7801, allocations: 47.22 kB / 1.532 GB, free: 14.5 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 2.415e-06/0.7801, allocations: 3.938 kB / 1.532 GB, free: 14.5 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.002055/0.7821, allocations: 1.001 MB / 1.533 GB, free: 13.49 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.7822, allocations: 56.06 kB / 1.533 GB, free: 13.42 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/0.783, allocations: 0.5941 MB / 1.533 GB, free: 12.82 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.7831, allocations: 41.7 kB / 1.533 GB, free: 12.78 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.7835, allocations: 436.8 kB / 1.534 GB, free: 12.34 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.7837, allocations: 257.7 kB / 1.534 GB, free: 12.09 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.7839, allocations: 118.3 kB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.7842, allocations: 390.7 kB / 1.535 GB, free: 11.58 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.7847, allocations: 277.2 kB / 1.535 GB, free: 11.3 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.7852, allocations: 357.1 kB / 1.535 GB, free: 10.93 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.7863, allocations: 0.659 MB / 1.536 GB, free: 10.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.7863, allocations: 4 kB / 1.536 GB, free: 10.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001387/0.7877, allocations: 0.7935 MB / 1.537 GB, free: 9.449 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7877, allocations: 4 kB / 1.537 GB, free: 9.445 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.7877, allocations: 8 kB / 1.537 GB, free: 9.438 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.7877, allocations: 4 kB / 1.537 GB, free: 9.434 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.7884, allocations: 147.8 kB / 1.537 GB, free: 9.289 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.7884, allocations: 4 kB / 1.537 GB, free: 9.285 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.7891, allocations: 47.66 kB / 1.537 GB, free: 9.238 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.7892, allocations: 24 kB / 1.537 GB, free: 9.215 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.0004377/0.7896, allocations: 294.3 kB / 1.537 GB, free: 8.918 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.7897, allocations: 83.48 kB / 1.537 GB, free: 8.836 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.7912, allocations: 0.7861 MB / 1.538 GB, free: 8.039 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7912, allocations: 11.92 kB / 1.538 GB, free: 8.027 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7912, allocations: 8 kB / 1.538 GB, free: 8.02 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.7924, allocations: 0.8174 MB / 1.539 GB, free: 7.152 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.7951, allocations: 1.574 MB / 1.54 GB, free: 5.539 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7951, allocations: 4 kB / 1.54 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.7959, allocations: 159.8 kB / 1.54 GB, free: 5.379 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.7959, allocations: 7.938 kB / 1.54 GB, free: 5.371 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.796, allocations: 16 kB / 1.54 GB, free: 5.355 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.796, allocations: 8 kB / 1.54 GB, free: 5.348 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.796, allocations: 3.938 kB / 1.54 GB, free: 5.344 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.7978, allocations: 1.198 MB / 1.542 GB, free: 4.129 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.7983, allocations: 175.2 kB / 1.542 GB, free: 3.957 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.7984, allocations: 12 kB / 1.542 GB, free: 3.945 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.7989, allocations: 23.98 kB / 1.542 GB, free: 3.922 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.7991, allocations: 44.56 kB / 1.542 GB, free: 3.879 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.7991, allocations: 23.98 kB / 1.542 GB, free: 3.855 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005421/0.7997, allocations: 423 kB / 1.542 GB, free: 3.445 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7997, allocations: 4 kB / 1.542 GB, free: 3.441 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009054/0.8006, allocations: 343.3 kB / 1.543 GB, free: 3.105 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.0003835/0.801, allocations: 191.1 kB / 1.543 GB, free: 2.91 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.8021, allocations: 0.6422 MB / 1.543 GB, free: 2.27 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8021, allocations: 4.062 kB / 1.543 GB, free: 2.266 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005644/0.8027, allocations: 351.6 kB / 1.544 GB, free: 1.918 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.8049, allocations: 0.5177 MB / 1.544 GB, free: 1.422 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.8087, allocations: 2.244 MB / 1.546 GB, free: 15.14 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.8093, allocations: 0.4907 MB / 1.547 GB, free: 14.62 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.8096, allocations: 75.42 kB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of SimCode: time 9.82e-07/0.8096, allocations: 4 kB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of Templates: time 0.02394/0.8335, allocations: 15.46 MB / 1.562 GB, free: 15.17 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/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] "" [Timeout remaining time 300] "" Variables in the reference:time,volA.T,volOut.T,oriOutBot.v,oriOutTop.v Variables in the result:oriOutBot.v,oriOutTop.v,time,volA.T,volOut.T [Calling sys.exit(0), Time elapsed: 15.069540615659207]