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.0008848/0.0008848, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008062/0.0008062, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8933/0.8933, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.757/1.757, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] 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.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.924e-06/1.924e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.92e-05, allocations: 10.22 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8362/0.8362, allocations: 261.6 MB / 1.256 GB, free: 6.109 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.8607, allocations: 21.45 MB / 1.277 GB, free: 0.6133 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003782/0.8645, allocations: 99.25 kB / 1.277 GB, free: 0.5156 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.003969/0.8685, allocations: 1.728 MB / 1.279 GB, free: 14.78 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.882, allocations: 6.6 MB / 1.286 GB, free: 8.145 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.006346/0.8883, allocations: 3.019 MB / 1.288 GB, free: 5.125 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.008023/0.8964, allocations: 7.569 MB / 1.296 GB, free: 13.55 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.8986, allocations: 2.095 MB / 1.298 GB, free: 11.4 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005814/0.9045, allocations: 4.205 MB / 1.302 GB, free: 7.219 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.9068, allocations: 2.549 MB / 1.305 GB, free: 4.672 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.9071, allocations: 348 kB / 1.305 GB, free: 4.332 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008975/0.9161, allocations: 5.019 MB / 1.31 GB, free: 15.3 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.9173, allocations: 1.592 MB / 1.311 GB, free: 13.7 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.9188, allocations: 1.4 MB / 1.313 GB, free: 12.3 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.9293, allocations: 7.113 MB / 1.32 GB, free: 5.168 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.9293, allocations: 0 / 1.32 GB, free: 5.168 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9293, allocations: 0 / 1.32 GB, free: 5.168 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.617e-05/0.9293, allocations: 0 / 1.32 GB, free: 5.168 MB / 1.151 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.006229/0.9356, allocations: 4.115 MB / 1.324 GB, free: 0.9922 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.9356, allocations: 13.34 kB / 1.324 GB, free: 0.9805 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/0.9398, allocations: 1.25 MB / 1.325 GB, free: 15.73 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.9422, allocations: 1.814 MB / 1.327 GB, free: 13.86 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.9423, allocations: 205.4 kB / 1.327 GB, free: 13.66 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.9426, allocations: 276 kB / 1.327 GB, free: 13.39 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/0.9472, allocations: 4.114 MB / 1.331 GB, free: 9.066 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.9473, allocations: 11.89 kB / 1.331 GB, free: 9.055 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.9475, allocations: 108 kB / 1.331 GB, free: 8.949 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.9476, allocations: 152.2 kB / 1.331 GB, free: 8.801 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004511/0.9521, allocations: 3.565 MB / 1.335 GB, free: 5.223 MB / 1.167 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.009861/0.962, allocations: 8.983 MB / 1.344 GB, free: 12.08 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.9651, allocations: 2.383 MB / 1.346 GB, free: 9.703 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.9666, allocations: 1.391 MB / 1.347 GB, free: 8.312 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.9668, allocations: 65.89 kB / 1.347 GB, free: 8.25 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.9688, allocations: 1.728 MB / 1.349 GB, free: 6.426 MB / 1.182 GB Notification: Performance of pre-optimization done (n=213): time 5.931e-06/0.9689, allocations: 3.094 kB / 1.349 GB, free: 6.426 MB / 1.182 GB Notification: Performance of matching and sorting (n=213): time 0.004922/0.9738, allocations: 3.59 MB / 1.353 GB, free: 2.832 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.9738, allocations: 81.41 kB / 1.353 GB, free: 2.742 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.975, allocations: 1.244 MB / 1.354 GB, free: 1.488 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.9752, allocations: 69.7 kB / 1.354 GB, free: 1.414 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006813/0.9759, allocations: 1.152 MB / 1.355 GB, free: 260 kB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/0.9764, allocations: 0.767 MB / 1.356 GB, free: 15.48 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006353/0.977, allocations: 363.5 kB / 1.356 GB, free: 15.11 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.9771, allocations: 312.9 kB / 1.356 GB, free: 14.81 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.9785, allocations: 1.091 MB / 1.358 GB, free: 13.71 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.9801, allocations: 1.562 MB / 1.359 GB, free: 11.98 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.9831, allocations: 2.575 MB / 1.362 GB, free: 9.305 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.9831, allocations: 4 kB / 1.362 GB, free: 9.301 MB / 1.198 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003844/0.9869, allocations: 2.909 MB / 1.364 GB, free: 6.371 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.987, allocations: 37.69 kB / 1.364 GB, free: 6.328 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.987, allocations: 8 kB / 1.364 GB, free: 6.32 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.987, allocations: 16 kB / 1.364 GB, free: 6.305 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.9883, allocations: 0.4998 MB / 1.365 GB, free: 5.805 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.9883, allocations: 19.94 kB / 1.365 GB, free: 5.785 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.9895, allocations: 206.8 kB / 1.365 GB, free: 5.582 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.9896, allocations: 87.97 kB / 1.365 GB, free: 5.496 MB / 1.198 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.001028/0.9906, allocations: 0.6884 MB / 1.366 GB, free: 4.797 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.9909, allocations: 206.7 kB / 1.366 GB, free: 4.594 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/0.9944, allocations: 2.786 MB / 1.369 GB, free: 1.789 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.9944, allocations: 20 kB / 1.369 GB, free: 1.77 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.9944, allocations: 0 / 1.369 GB, free: 1.77 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003186/0.9976, allocations: 2.632 MB / 1.371 GB, free: 15.07 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/1.004, allocations: 5.295 MB / 1.377 GB, free: 9.703 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/1.004, allocations: 3.938 kB / 1.377 GB, free: 9.699 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.006, allocations: 0.5074 MB / 1.377 GB, free: 9.191 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.006, allocations: 12 kB / 1.377 GB, free: 9.18 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.006, allocations: 63.91 kB / 1.377 GB, free: 9.117 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/1.006, allocations: 8 kB / 1.377 GB, free: 9.109 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.006, allocations: 4 kB / 1.377 GB, free: 9.105 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/1.011, allocations: 4.29 MB / 1.381 GB, free: 4.766 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/1.012, allocations: 0.4899 MB / 1.382 GB, free: 4.277 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.012, allocations: 44 kB / 1.382 GB, free: 4.234 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/1.013, allocations: 95.91 kB / 1.382 GB, free: 4.141 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/1.013, allocations: 157.6 kB / 1.382 GB, free: 3.988 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.013, allocations: 79.89 kB / 1.382 GB, free: 3.91 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.0008602/1.014, allocations: 0.8375 MB / 1.383 GB, free: 3.074 MB / 1.214 GB Notification: Performance of sort global known variables: time 6e-08/1.014, allocations: 0 / 1.383 GB, free: 3.074 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0023/1.016, allocations: 0.9745 MB / 1.384 GB, free: 2.098 MB / 1.214 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.0006145/1.017, allocations: 353.5 kB / 1.384 GB, free: 1.75 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.003251/1.02, allocations: 2.561 MB / 1.387 GB, free: 15.17 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.02, allocations: 0 / 1.387 GB, free: 15.17 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/1.022, allocations: 1.305 MB / 1.388 GB, free: 13.87 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.024, allocations: 1.13 MB / 1.389 GB, free: 12.77 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007428/1.032, allocations: 5.888 MB / 1.395 GB, free: 6.801 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.033, allocations: 1.426 MB / 1.396 GB, free: 5.332 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006832/1.034, allocations: 220.4 kB / 1.397 GB, free: 5.117 MB / 1.229 GB Notification: Performance of SimCode: time 1.613e-06/1.034, allocations: 0 / 1.397 GB, free: 5.117 MB / 1.229 GB Notification: Performance of Templates: time 0.04788/1.081, allocations: 44.05 MB / 1.44 GB, free: 9.199 MB / 1.276 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 800] 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: 12.928674873895943]