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.001799/0.001799, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.002087/0.002087, allocations: 167 kB / 22.46 MB, free: 5.375 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.631/1.631, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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 2.902/2.902, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.204e-06/2.204e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.147e-05/4.367e-05, allocations: 6.219 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9856/0.9856, allocations: 178.7 MB / 1.175 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.9974, allocations: 7.048 MB / 1.181 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.9995, allocations: 51.25 kB / 1.182 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/1.002, allocations: 0.6668 MB / 1.182 GB, free: 44.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008973/1.011, allocations: 2.634 MB / 1.185 GB, free: 44.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/1.015, allocations: 1.284 MB / 1.186 GB, free: 44.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006294/1.021, allocations: 3.039 MB / 1.189 GB, free: 43.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/1.023, allocations: 0.7199 MB / 1.19 GB, free: 43.51 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/1.027, allocations: 1.555 MB / 1.191 GB, free: 43.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/1.03, allocations: 0.9024 MB / 1.192 GB, free: 43.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002311/1.03, allocations: 112.8 kB / 1.192 GB, free: 43.28 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005824/1.036, allocations: 1.811 MB / 1.194 GB, free: 43.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008133/1.037, allocations: 491.5 kB / 1.194 GB, free: 43.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/1.038, allocations: 495.2 kB / 1.195 GB, free: 42.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007223/1.045, allocations: 2.47 MB / 1.197 GB, free: 42.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.045, allocations: 2.016 kB / 1.197 GB, free: 42.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.154e-06/1.045, allocations: 0 / 1.197 GB, free: 42.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.104e-05/1.045, allocations: 2.125 kB / 1.197 GB, free: 42.75 MB / 1.076 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.004827/1.05, allocations: 1.594 MB / 1.199 GB, free: 41.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.05, allocations: 10.81 kB / 1.199 GB, free: 41.85 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/1.054, allocations: 0.5028 MB / 1.199 GB, free: 41.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/1.056, allocations: 0.7942 MB / 1.2 GB, free: 41.33 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/1.056, allocations: 63.53 kB / 1.2 GB, free: 41.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/1.056, allocations: 85.02 kB / 1.2 GB, free: 41.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/1.059, allocations: 1.308 MB / 1.202 GB, free: 40.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/1.059, allocations: 6.891 kB / 1.202 GB, free: 40.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.059, allocations: 36.62 kB / 1.202 GB, free: 40.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.469e-05/1.059, allocations: 45.69 kB / 1.202 GB, free: 40.53 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/1.061, allocations: 0.9799 MB / 1.203 GB, free: 40.21 MB / 1.076 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.005175/1.066, allocations: 2.82 MB / 1.205 GB, free: 38.58 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/1.068, allocations: 0.7597 MB / 1.206 GB, free: 38.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/1.069, allocations: 487.9 kB / 1.207 GB, free: 38.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/1.069, allocations: 18.3 kB / 1.207 GB, free: 38.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/1.069, allocations: 42.53 kB / 1.207 GB, free: 38.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.946e-06/1.069, allocations: 2.094 kB / 1.207 GB, free: 38.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.002917/1.072, allocations: 1.152 MB / 1.208 GB, free: 37.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.072, allocations: 58.88 kB / 1.208 GB, free: 37.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008843/1.073, allocations: 0.6019 MB / 1.208 GB, free: 37.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/1.073, allocations: 37.02 kB / 1.208 GB, free: 37.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/1.073, allocations: 439.4 kB / 1.209 GB, free: 36.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.074, allocations: 261.7 kB / 1.209 GB, free: 36.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/1.074, allocations: 124.6 kB / 1.209 GB, free: 36.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.074, allocations: 385 kB / 1.21 GB, free: 36.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/1.075, allocations: 329.1 kB / 1.21 GB, free: 36.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/1.076, allocations: 413.7 kB / 1.21 GB, free: 35.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/1.077, allocations: 0.7543 MB / 1.211 GB, free: 35.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.077, allocations: 2.469 kB / 1.211 GB, free: 35.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002042/1.079, allocations: 0.8974 MB / 1.212 GB, free: 35.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.079, allocations: 10.83 kB / 1.212 GB, free: 35.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.079, allocations: 1.25 kB / 1.212 GB, free: 35.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/1.079, allocations: 7.25 kB / 1.212 GB, free: 35.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/1.08, allocations: 159 kB / 1.212 GB, free: 35.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.08, allocations: 6.484 kB / 1.212 GB, free: 35.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/1.081, allocations: 59.97 kB / 1.212 GB, free: 35.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/1.081, allocations: 26.36 kB / 1.212 GB, free: 35.22 MB / 1.076 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.0006545/1.082, allocations: 289.4 kB / 1.212 GB, free: 35.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/1.082, allocations: 86.27 kB / 1.213 GB, free: 34.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/1.082, allocations: 109.8 kB / 1.213 GB, free: 34.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.082, allocations: 7.656 kB / 1.213 GB, free: 34.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/1.082, allocations: 0 / 1.213 GB, free: 34.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/1.084, allocations: 0.9153 MB / 1.214 GB, free: 34.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/1.088, allocations: 1.729 MB / 1.215 GB, free: 33.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.088, allocations: 0.75 kB / 1.215 GB, free: 33.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.089, allocations: 181.3 kB / 1.215 GB, free: 33.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.089, allocations: 2.469 kB / 1.215 GB, free: 33.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/1.089, allocations: 24.03 kB / 1.215 GB, free: 33.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/1.089, allocations: 2.688 kB / 1.215 GB, free: 33.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.089, allocations: 0.7031 kB / 1.215 GB, free: 33.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/1.091, allocations: 1.374 MB / 1.217 GB, free: 32.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/1.092, allocations: 181 kB / 1.217 GB, free: 32.85 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.092, allocations: 12.91 kB / 1.217 GB, free: 32.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/1.093, allocations: 33.84 kB / 1.217 GB, free: 32.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.093, allocations: 47.7 kB / 1.217 GB, free: 32.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/1.093, allocations: 24.75 kB / 1.217 GB, free: 32.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006096/1.094, allocations: 429.6 kB / 1.217 GB, free: 32.63 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.094, allocations: 1 kB / 1.217 GB, free: 32.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001154/1.095, allocations: 337.1 kB / 1.218 GB, free: 32.57 MB / 1.076 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.0003032/1.095, allocations: 173.3 kB / 1.218 GB, free: 32.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.097, allocations: 0.7535 MB / 1.219 GB, free: 32.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.097, allocations: 0 / 1.219 GB, free: 32.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/1.098, allocations: 409.4 kB / 1.219 GB, free: 32.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/1.1, allocations: 0.5206 MB / 1.22 GB, free: 31.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/1.104, allocations: 2.058 MB / 1.222 GB, free: 30.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/1.105, allocations: 0.4954 MB / 1.222 GB, free: 30.74 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001052/1.106, allocations: 223.5 kB / 1.222 GB, free: 30.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/1.106, allocations: 75.42 kB / 1.222 GB, free: 30.67 MB / 1.076 GB Notification: Performance of SimCode: time 1.093e-06/1.106, allocations: 7.875 kB / 1.222 GB, free: 30.66 MB / 1.076 GB Notification: Performance of Templates: time 0.03896/1.145, allocations: 19.24 MB / 1.241 GB, free: 28.48 MB / 1.076 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: 10.471536580473185]