Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001408/0.001408, allocations: 95.06 kB / 19.44 MB, free: 460 kB / 13.93 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.001638/0.001638, allocations: 165.2 kB / 22.75 MB, free: 1.789 MB / 18.57 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.471/1.471, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.171/3.171, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.857e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2511/0.2512, allocations: 178.7 MB / 1.052 GB, free: 3.172 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4712/0.7224, allocations: 7.051 MB / 1.059 GB, free: 45.64 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.7239, allocations: 49.3 kB / 1.059 GB, free: 45.64 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.7257, allocations: 0.6728 MB / 1.06 GB, free: 45.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006141/0.7318, allocations: 2.631 MB / 1.062 GB, free: 45.57 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.7348, allocations: 1.281 MB / 1.063 GB, free: 45.54 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003703/0.7385, allocations: 3.048 MB / 1.066 GB, free: 45.46 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.7397, allocations: 0.7412 MB / 1.067 GB, free: 45.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.7431, allocations: 1.56 MB / 1.069 GB, free: 45.25 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.7456, allocations: 0.9202 MB / 1.07 GB, free: 45.15 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003798/0.746, allocations: 116.1 kB / 1.07 GB, free: 45.15 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.75, allocations: 1.806 MB / 1.071 GB, free: 44.96 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006694/0.7507, allocations: 496.7 kB / 1.072 GB, free: 44.89 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.7519, allocations: 496.3 kB / 1.072 GB, free: 44.84 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.7568, allocations: 2.481 MB / 1.075 GB, free: 44.62 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7568, allocations: 2.781 kB / 1.075 GB, free: 44.62 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7568, allocations: 0.9375 kB / 1.075 GB, free: 44.62 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.93e-05/0.7569, allocations: 0 / 1.075 GB, free: 44.62 MB / 1.01 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.004525/0.7614, allocations: 1.588 MB / 1.076 GB, free: 43.85 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7615, allocations: 12.47 kB / 1.076 GB, free: 43.85 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.7656, allocations: 0.6182 MB / 1.077 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.7675, allocations: 0.8408 MB / 1.078 GB, free: 43.47 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.7675, allocations: 64.38 kB / 1.078 GB, free: 43.47 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.7678, allocations: 94.98 kB / 1.078 GB, free: 43.46 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.7702, allocations: 1.308 MB / 1.079 GB, free: 43.09 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.7703, allocations: 3.375 kB / 1.079 GB, free: 43.09 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.7704, allocations: 34.53 kB / 1.079 GB, free: 43.09 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.7705, allocations: 47.73 kB / 1.079 GB, free: 43.08 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.7725, allocations: 0.9827 MB / 1.08 GB, free: 43.08 MB / 1.01 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.005081/0.7776, allocations: 2.873 MB / 1.083 GB, free: 42.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.7792, allocations: 0.7597 MB / 1.084 GB, free: 42.01 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009523/0.7801, allocations: 496.8 kB / 1.084 GB, free: 42 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.7802, allocations: 17.64 kB / 1.084 GB, free: 42 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.7802, allocations: 46.31 kB / 1.084 GB, free: 41.96 MB / 1.01 GB Notification: Performance of pre-optimization done (n=70): time 4.188e-06/0.7802, allocations: 0.875 kB / 1.084 GB, free: 41.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=70): time 0.002582/0.7828, allocations: 1.165 MB / 1.086 GB, free: 41.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7829, allocations: 63.53 kB / 1.086 GB, free: 41.81 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.7837, allocations: 0.598 MB / 1.086 GB, free: 41.68 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.7837, allocations: 39.48 kB / 1.086 GB, free: 41.65 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.784, allocations: 439.6 kB / 1.087 GB, free: 41.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.7842, allocations: 263.4 kB / 1.087 GB, free: 41.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.7844, allocations: 123 kB / 1.087 GB, free: 41.25 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.7845, allocations: 385 kB / 1.087 GB, free: 40.94 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.7851, allocations: 336.9 kB / 1.088 GB, free: 40.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.7858, allocations: 410.2 kB / 1.088 GB, free: 40.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.7873, allocations: 0.758 MB / 1.089 GB, free: 40.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7873, allocations: 0.7188 kB / 1.089 GB, free: 40.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00215/0.7894, allocations: 0.922 MB / 1.09 GB, free: 40.72 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.7895, allocations: 5.688 kB / 1.09 GB, free: 40.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.7895, allocations: 3.188 kB / 1.09 GB, free: 40.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.041e-05/0.7895, allocations: 4.562 kB / 1.09 GB, free: 40.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/0.7904, allocations: 164.4 kB / 1.09 GB, free: 40.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.7904, allocations: 8.812 kB / 1.09 GB, free: 40.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7914, allocations: 61.36 kB / 1.09 GB, free: 40.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.7915, allocations: 26.66 kB / 1.09 GB, free: 40.69 MB / 1.01 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.0005025/0.792, allocations: 283.7 kB / 1.09 GB, free: 40.58 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.7923, allocations: 105.2 kB / 1.09 GB, free: 40.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.7926, allocations: 107.2 kB / 1.09 GB, free: 40.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.7926, allocations: 7.281 kB / 1.09 GB, free: 40.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.7926, allocations: 4.938 kB / 1.09 GB, free: 40.51 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/0.7942, allocations: 0.9135 MB / 1.091 GB, free: 40.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.7977, allocations: 1.716 MB / 1.093 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7977, allocations: 0 / 1.093 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7988, allocations: 186.7 kB / 1.093 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.7988, allocations: 9.188 kB / 1.093 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.7988, allocations: 16.16 kB / 1.093 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.7988, allocations: 6.422 kB / 1.093 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7988, allocations: 3.188 kB / 1.093 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.8017, allocations: 1.393 MB / 1.095 GB, free: 39.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.8023, allocations: 182.3 kB / 1.095 GB, free: 39.72 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.8025, allocations: 15.41 kB / 1.095 GB, free: 39.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009585/0.8035, allocations: 38.48 kB / 1.095 GB, free: 39.72 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.8037, allocations: 46.48 kB / 1.095 GB, free: 39.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.8037, allocations: 29.5 kB / 1.095 GB, free: 39.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006968/0.8044, allocations: 424.7 kB / 1.095 GB, free: 39.62 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8044, allocations: 1.094 kB / 1.095 GB, free: 39.62 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001255/0.8057, allocations: 344.5 kB / 1.096 GB, free: 39.58 MB / 1.01 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.0003558/0.806, allocations: 170.7 kB / 1.096 GB, free: 39.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.8078, allocations: 0.7481 MB / 1.097 GB, free: 39.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8078, allocations: 1.125 kB / 1.097 GB, free: 39.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.8086, allocations: 413.4 kB / 1.097 GB, free: 39.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.8112, allocations: 0.5338 MB / 1.097 GB, free: 39.44 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.8154, allocations: 2.078 MB / 1.099 GB, free: 38.66 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.8161, allocations: 0.4937 MB / 1.1 GB, free: 38.56 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001133/0.8173, allocations: 217.5 kB / 1.1 GB, free: 38.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.8176, allocations: 76.14 kB / 1.1 GB, free: 38.52 MB / 1.01 GB Notification: Performance of SimCode: time 1.262e-06/0.8176, allocations: 4.25 kB / 1.1 GB, free: 38.52 MB / 1.01 GB Notification: Performance of Templates: time 0.0362/0.8538, allocations: 19.36 MB / 1.119 GB, free: 36.41 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.44363863801118]