Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001215, allocations: 101.6 kB / 16.27 MB, free: 5.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 188.7 kB / 17.19 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.36 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3728, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.168/1.541, allocations: 294.3 MB / 1.238 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04061/1.582, allocations: 23.04 MB / 1.26 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005588/1.587, allocations: 78.62 kB / 1.26 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006681/1.594, allocations: 1.804 MB / 1.262 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.02214/1.616, allocations: 6.12 MB / 1.268 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/1.628, allocations: 2.879 MB / 1.271 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01332/1.641, allocations: 7.301 MB / 1.278 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006324/1.647, allocations: 2.976 MB / 1.281 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008452/1.656, allocations: 2.858 MB / 1.284 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006256/1.662, allocations: 2.714 MB / 1.286 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001618/1.664, allocations: 340 kB / 1.287 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01881/1.683, allocations: 5.986 MB / 1.292 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003809/1.686, allocations: 1.461 MB / 1.294 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.007344/1.694, allocations: 1.91 MB / 1.296 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.02455/1.718, allocations: 6.88 MB / 1.302 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/1.718, allocations: 3.984 kB / 1.302 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.114e-06/1.719, allocations: 0 / 1.302 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002363/1.719, allocations: 0 / 1.302 GB, free: 8.617 MB / 0.9669 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.01529/1.734, allocations: 4.093 MB / 1.306 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.734, allocations: 12.03 kB / 1.306 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006362/1.74, allocations: 0.8353 MB / 1.307 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/1.746, allocations: 1.79 MB / 1.309 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/1.746, allocations: 209.4 kB / 1.309 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/1.747, allocations: 287.8 kB / 1.309 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009367/1.756, allocations: 3.596 MB / 1.313 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-05/1.757, allocations: 3.938 kB / 1.313 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005914/1.757, allocations: 120 kB / 1.313 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/1.757, allocations: 145.3 kB / 1.313 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007511/1.765, allocations: 3.284 MB / 1.316 GB, free: 9.98 MB / 0.9825 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.02152/1.786, allocations: 14.31 MB / 1.33 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/1.791, allocations: 2.478 MB / 1.333 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.793, allocations: 1.349 MB / 1.334 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/1.794, allocations: 1.375 MB / 1.335 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/1.797, allocations: 1.23 MB / 1.337 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 5.871e-06/1.797, allocations: 0 / 1.337 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.006525/1.803, allocations: 3.164 MB / 1.34 GB, free: 472 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/1.803, allocations: 77.39 kB / 1.34 GB, free: 380 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/1.806, allocations: 1.456 MB / 1.341 GB, free: 14.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002085/1.806, allocations: 69.64 kB / 1.341 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.808, allocations: 1.119 MB / 1.342 GB, free: 13.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008797/1.809, allocations: 0.7316 MB / 1.343 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006858/1.809, allocations: 363.3 kB / 1.343 GB, free: 12.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.809, allocations: 309.1 kB / 1.344 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/1.811, allocations: 0.9136 MB / 1.345 GB, free: 11.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/1.813, allocations: 1.251 MB / 1.346 GB, free: 10 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/1.817, allocations: 2.333 MB / 1.348 GB, free: 7.566 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.817, allocations: 0 / 1.348 GB, free: 7.566 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00496/1.822, allocations: 2.593 MB / 1.351 GB, free: 4.957 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/1.822, allocations: 43.89 kB / 1.351 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.822, allocations: 8.719 kB / 1.351 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.156e-05/1.822, allocations: 20 kB / 1.351 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.824, allocations: 467.3 kB / 1.351 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.041e-05/1.824, allocations: 19.94 kB / 1.351 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.827, allocations: 197.8 kB / 1.351 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/1.827, allocations: 75.98 kB / 1.352 GB, free: 4.137 MB / 1.014 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.001572/1.828, allocations: 0.6854 MB / 1.352 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006956/1.829, allocations: 217.5 kB / 1.352 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/1.834, allocations: 2.519 MB / 1.355 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/1.834, allocations: 20 kB / 1.355 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.834, allocations: 4 kB / 1.355 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003736/1.838, allocations: 2.327 MB / 1.357 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.848, allocations: 5.614 MB / 1.363 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.848, allocations: 64 / 1.363 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.851, allocations: 483.7 kB / 1.363 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.367e-05/1.851, allocations: 12 kB / 1.363 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/1.851, allocations: 51.98 kB / 1.363 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.049e-05/1.851, allocations: 8 kB / 1.363 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.851, allocations: 4 kB / 1.363 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006641/1.858, allocations: 3.806 MB / 1.367 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.859, allocations: 0.5332 MB / 1.367 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005653/1.86, allocations: 44 kB / 1.367 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.862, allocations: 66.2 kB / 1.367 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.862, allocations: 153.7 kB / 1.368 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.862, allocations: 67.98 kB / 1.368 GB, free: 3.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001815/1.864, allocations: 0.9866 MB / 1.369 GB, free: 2.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.864, allocations: 0 / 1.369 GB, free: 2.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002994/1.867, allocations: 0.9389 MB / 1.37 GB, free: 1.348 MB / 1.029 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.0009778/1.868, allocations: 384.4 kB / 1.37 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00834/1.876, allocations: 3.883 MB / 1.374 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.876, allocations: 0 / 1.374 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.878, allocations: 1.215 MB / 1.375 GB, free: 11.86 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006686/1.885, allocations: 1.289 MB / 1.376 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/1.897, allocations: 6.014 MB / 1.382 GB, free: 4.512 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/1.9, allocations: 1.979 MB / 1.384 GB, free: 2.496 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.901, allocations: 219.4 kB / 1.384 GB, free: 2.281 MB / 1.045 GB Notification: Performance of SimCode: time 1.222e-06/1.901, allocations: 0 / 1.384 GB, free: 2.281 MB / 1.045 GB Notification: Performance of Templates: time 0.07845/1.98, allocations: 41.53 MB / 1.425 GB, free: 8.969 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches