Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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.001809/0.001809, allocations: 93.47 kB / 19.44 MB, free: 332 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.001955/0.001955, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.34/3.34, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.76e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8299/0.8299, allocations: 295 MB / 1.166 GB, free: 41.52 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02873/0.8587, allocations: 23.82 MB / 1.189 GB, free: 27.21 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.8624, allocations: 99.03 kB / 1.189 GB, free: 27.21 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.004773/0.8672, allocations: 1.736 MB / 1.191 GB, free: 26.65 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01654/0.8837, allocations: 6.617 MB / 1.197 GB, free: 23.5 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.008455/0.8922, allocations: 3.011 MB / 1.2 GB, free: 22.08 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.9023, allocations: 7.578 MB / 1.207 GB, free: 18.54 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/0.9074, allocations: 2.185 MB / 1.21 GB, free: 17.26 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/0.9189, allocations: 4.279 MB / 1.214 GB, free: 15.55 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004838/0.9238, allocations: 2.607 MB / 1.216 GB, free: 14.73 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.9249, allocations: 347.9 kB / 1.217 GB, free: 14.73 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/0.9356, allocations: 5.02 MB / 1.222 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.9378, allocations: 1.616 MB / 1.223 GB, free: 12.17 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.9413, allocations: 1.404 MB / 1.224 GB, free: 11.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.9546, allocations: 7.148 MB / 1.231 GB, free: 9.301 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9546, allocations: 0 / 1.231 GB, free: 9.301 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9546, allocations: 0 / 1.231 GB, free: 9.301 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001873/0.9548, allocations: 0 / 1.231 GB, free: 9.301 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01115/0.966, allocations: 4.399 MB / 1.236 GB, free: 6.758 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.966, allocations: 9.625 kB / 1.236 GB, free: 6.758 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009118/0.9751, allocations: 1.636 MB / 1.237 GB, free: 6.297 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.9792, allocations: 1.803 MB / 1.239 GB, free: 5.188 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.9793, allocations: 207.4 kB / 1.239 GB, free: 5.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007138/0.98, allocations: 283.3 kB / 1.24 GB, free: 4.996 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006632/0.9866, allocations: 3.511 MB / 1.243 GB, free: 2.641 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/0.9867, allocations: 5.938 kB / 1.243 GB, free: 2.641 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003636/0.9871, allocations: 115.4 kB / 1.243 GB, free: 2.555 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.9872, allocations: 147.9 kB / 1.243 GB, free: 2.523 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005337/0.9926, allocations: 2.44 MB / 1.246 GB, free: 1.496 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.01724/1.01, allocations: 10.93 MB / 1.256 GB, free: 9.613 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/1.014, allocations: 1.891 MB / 1.258 GB, free: 8.77 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/1.017, allocations: 1.033 MB / 1.259 GB, free: 8.352 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/1.017, allocations: 68.19 kB / 1.259 GB, free: 8.336 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/1.019, allocations: 1.456 MB / 1.261 GB, free: 7.312 MB / 1.026 GB Notification: Performance of pre-optimization done (n=213): time 4.859e-06/1.019, allocations: 0 / 1.261 GB, free: 7.312 MB / 1.026 GB Notification: Performance of matching and sorting (n=213): time 0.007403/1.027, allocations: 2.737 MB / 1.263 GB, free: 5.414 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/1.027, allocations: 77.39 kB / 1.263 GB, free: 5.324 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/1.029, allocations: 1.513 MB / 1.265 GB, free: 3.785 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/1.03, allocations: 61.7 kB / 1.265 GB, free: 3.719 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/1.031, allocations: 1.269 MB / 1.266 GB, free: 2.441 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.032, allocations: 0.8254 MB / 1.267 GB, free: 1.609 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008331/1.033, allocations: 429.2 kB / 1.267 GB, free: 1.18 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002582/1.033, allocations: 480.7 kB / 1.268 GB, free: 0.707 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/1.035, allocations: 0.7357 MB / 1.269 GB, free: 15.96 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/1.038, allocations: 1.383 MB / 1.27 GB, free: 14.38 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/1.043, allocations: 2.071 MB / 1.272 GB, free: 12.2 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.043, allocations: 4 kB / 1.272 GB, free: 12.19 MB / 1.042 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006033/1.049, allocations: 2.31 MB / 1.274 GB, free: 9.906 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/1.049, allocations: 33.7 kB / 1.274 GB, free: 9.867 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.049, allocations: 8.625 kB / 1.274 GB, free: 9.859 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-05/1.049, allocations: 20 kB / 1.274 GB, free: 9.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/1.051, allocations: 0.4904 MB / 1.275 GB, free: 9.375 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.197e-05/1.051, allocations: 25.84 kB / 1.275 GB, free: 9.355 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/1.054, allocations: 214.7 kB / 1.275 GB, free: 9.145 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/1.054, allocations: 79.97 kB / 1.275 GB, free: 9.066 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.001288/1.055, allocations: 471.6 kB / 1.276 GB, free: 8.621 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007368/1.056, allocations: 270.7 kB / 1.276 GB, free: 8.355 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00565/1.062, allocations: 2.178 MB / 1.278 GB, free: 6.16 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/1.062, allocations: 20 kB / 1.278 GB, free: 6.141 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.062, allocations: 0 / 1.278 GB, free: 6.141 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004677/1.066, allocations: 2.01 MB / 1.28 GB, free: 4.066 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.078, allocations: 5.009 MB / 1.285 GB, free: 14.97 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.078, allocations: 4 kB / 1.285 GB, free: 14.96 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002876/1.081, allocations: 0.4921 MB / 1.285 GB, free: 14.49 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.062e-05/1.081, allocations: 12 kB / 1.285 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/1.082, allocations: 59.95 kB / 1.285 GB, free: 14.42 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/1.082, allocations: 14.06 kB / 1.285 GB, free: 14.41 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.082, allocations: 0 / 1.285 GB, free: 14.41 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008331/1.09, allocations: 3.438 MB / 1.289 GB, free: 10.91 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/1.092, allocations: 474 kB / 1.289 GB, free: 10.45 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/1.092, allocations: 40 kB / 1.289 GB, free: 10.41 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/1.094, allocations: 98.67 kB / 1.289 GB, free: 10.32 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/1.095, allocations: 164.3 kB / 1.289 GB, free: 10.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.095, allocations: 71.95 kB / 1.29 GB, free: 10.09 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001588/1.096, allocations: 0.8882 MB / 1.29 GB, free: 9.199 MB / 1.057 GB Notification: Performance of sort global known variables: time 1e-07/1.096, allocations: 4 kB / 1.29 GB, free: 9.195 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002593/1.099, allocations: 0.9823 MB / 1.291 GB, free: 8.211 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006873/1.1, allocations: 343.7 kB / 1.292 GB, free: 7.898 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.005186/1.105, allocations: 2.083 MB / 1.294 GB, free: 5.832 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.105, allocations: 0 / 1.294 GB, free: 5.832 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/1.107, allocations: 1.084 MB / 1.295 GB, free: 4.789 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/1.113, allocations: 1.186 MB / 1.296 GB, free: 3.633 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.124, allocations: 5.352 MB / 1.301 GB, free: 14.2 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.126, allocations: 1.344 MB / 1.302 GB, free: 12.81 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.002671/1.129, allocations: 0.5905 MB / 1.303 GB, free: 12.21 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008328/1.13, allocations: 192.4 kB / 1.303 GB, free: 12.03 MB / 1.073 GB Notification: Performance of SimCode: time 1.202e-06/1.13, allocations: 0 / 1.303 GB, free: 12.03 MB / 1.073 GB Notification: Performance of Templates: time 0.08727/1.217, allocations: 47.9 MB / 1.35 GB, free: 13.16 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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: 11.234572405926883]