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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001311/0.001311, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002034/0.002034, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.58/1.58, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.993/2.993, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 65.81 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4441, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.503/1.947, allocations: 290.9 MB / 1.336 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04017/1.987, allocations: 22.92 MB / 1.359 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006221/1.994, allocations: 70.69 kB / 1.359 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0069/2.001, allocations: 1.602 MB / 1.36 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02071/2.021, allocations: 5.758 MB / 1.366 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01098/2.032, allocations: 2.668 MB / 1.369 GB, free: 428 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01604/2.048, allocations: 7.305 MB / 1.376 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006427/2.055, allocations: 2.879 MB / 1.378 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/2.066, allocations: 2.921 MB / 1.381 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007543/2.074, allocations: 2.878 MB / 1.384 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001645/2.075, allocations: 345.8 kB / 1.384 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/2.093, allocations: 6.225 MB / 1.391 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003652/2.097, allocations: 1.469 MB / 1.392 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008111/2.105, allocations: 1.902 MB / 1.394 GB, free: 9.297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03009/2.135, allocations: 7.284 MB / 1.401 GB, free: 5.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/2.135, allocations: 0 / 1.401 GB, free: 5.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.106e-06/2.135, allocations: 0 / 1.401 GB, free: 5.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003299/2.135, allocations: 0 / 1.401 GB, free: 5.137 MB / 1.014 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.01674/2.152, allocations: 4.1 MB / 1.405 GB, free: 2.359 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/2.152, allocations: 10.94 kB / 1.405 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/2.159, allocations: 0.8389 MB / 1.406 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004895/2.164, allocations: 1.798 MB / 1.408 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/2.164, allocations: 204.3 kB / 1.408 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007956/2.165, allocations: 276.3 kB / 1.408 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007788/2.172, allocations: 3.608 MB / 1.412 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.96e-05/2.172, allocations: 7.938 kB / 1.412 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/2.173, allocations: 111.4 kB / 1.412 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002234/2.173, allocations: 145.3 kB / 1.412 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006999/2.18, allocations: 3.292 MB / 1.415 GB, free: 10.29 MB / 1.029 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.0253/2.205, allocations: 14.14 MB / 1.429 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/2.209, allocations: 2.477 MB / 1.431 GB, free: 8.508 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/2.211, allocations: 1.356 MB / 1.433 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/2.213, allocations: 1.374 MB / 1.434 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002189/2.215, allocations: 1.237 MB / 1.435 GB, free: 4.242 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 4.548e-06/2.215, allocations: 4 kB / 1.435 GB, free: 4.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.006073/2.221, allocations: 3.16 MB / 1.438 GB, free: 1.074 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/2.221, allocations: 85.33 kB / 1.438 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/2.224, allocations: 1.452 MB / 1.44 GB, free: 15.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/2.224, allocations: 69.7 kB / 1.44 GB, free: 15.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/2.225, allocations: 1.115 MB / 1.441 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/2.226, allocations: 0.738 MB / 1.442 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006949/2.227, allocations: 355.5 kB / 1.442 GB, free: 13.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001099/2.227, allocations: 301.1 kB / 1.442 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/2.229, allocations: 0.9175 MB / 1.443 GB, free: 12.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/2.231, allocations: 1.254 MB / 1.444 GB, free: 10.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/2.234, allocations: 2.321 MB / 1.447 GB, free: 8.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/2.234, allocations: 11.94 kB / 1.447 GB, free: 8.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005836/2.24, allocations: 2.597 MB / 1.449 GB, free: 5.582 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/2.24, allocations: 37.64 kB / 1.449 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/2.24, allocations: 8 kB / 1.449 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.674e-05/2.24, allocations: 16.69 kB / 1.449 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/2.242, allocations: 471.3 kB / 1.45 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.021e-05/2.242, allocations: 16 kB / 1.45 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004745/2.247, allocations: 401.7 kB / 1.45 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/2.248, allocations: 79.98 kB / 1.45 GB, free: 4.566 MB / 1.061 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.0023/2.25, allocations: 0.6729 MB / 1.451 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/2.251, allocations: 225.4 kB / 1.451 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/2.256, allocations: 2.526 MB / 1.453 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/2.256, allocations: 20 kB / 1.453 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/2.256, allocations: 0 / 1.453 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003422/2.26, allocations: 2.331 MB / 1.456 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/2.271, allocations: 5.598 MB / 1.461 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/2.271, allocations: 320 / 1.461 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/2.273, allocations: 479.4 kB / 1.462 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/2.273, allocations: 8 kB / 1.462 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/2.273, allocations: 63.86 kB / 1.462 GB, free: 8.504 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/2.273, allocations: 12 kB / 1.462 GB, free: 8.492 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.273, allocations: 4 kB / 1.462 GB, free: 8.488 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006283/2.28, allocations: 3.797 MB / 1.465 GB, free: 4.645 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/2.282, allocations: 0.5409 MB / 1.466 GB, free: 4.082 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/2.282, allocations: 47.94 kB / 1.466 GB, free: 4.035 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/2.284, allocations: 243.5 kB / 1.466 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/2.285, allocations: 153.7 kB / 1.466 GB, free: 3.648 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/2.285, allocations: 75.97 kB / 1.466 GB, free: 3.574 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001484/2.286, allocations: 0.9866 MB / 1.467 GB, free: 2.594 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/2.286, allocations: 0 / 1.467 GB, free: 2.594 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002917/2.289, allocations: 0.935 MB / 1.468 GB, free: 1.656 MB / 1.076 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.0009495/2.29, allocations: 386.1 kB / 1.469 GB, free: 1.297 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01028/2.3, allocations: 3.875 MB / 1.473 GB, free: 13.41 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/2.301, allocations: 0 / 1.473 GB, free: 13.41 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002671/2.303, allocations: 1.227 MB / 1.474 GB, free: 12.18 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008717/2.312, allocations: 1.29 MB / 1.475 GB, free: 10.92 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/2.327, allocations: 7.019 MB / 1.482 GB, free: 3.848 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/2.329, allocations: 1.968 MB / 1.484 GB, free: 1.844 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003883/2.333, allocations: 0.7251 MB / 1.484 GB, free: 1.113 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/2.334, allocations: 195.4 kB / 1.485 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of SimCode: time 1.303e-06/2.334, allocations: 0 / 1.485 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of Templates: time 0.09666/2.43, allocations: 46.99 MB / 1.531 GB, free: 2.516 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) 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) Reference file matches