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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009198/0.0009197, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009632/0.0009633, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 16 kB / 0.8708 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7842, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2934/1.078, allocations: 238.7 MB / 1.254 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7484/1.826, allocations: 21.23 MB / 1.275 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005154/1.831, allocations: 60.75 kB / 1.275 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00692/1.838, allocations: 1.542 MB / 1.276 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02122/1.86, allocations: 4.57 MB / 1.281 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008671/1.868, allocations: 2.142 MB / 1.283 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0107/1.879, allocations: 4.163 MB / 1.287 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/1.884, allocations: 2.277 MB / 1.289 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007756/1.892, allocations: 2.24 MB / 1.291 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005749/1.898, allocations: 1.735 MB / 1.293 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001167/1.899, allocations: 171.1 kB / 1.293 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/1.913, allocations: 2.391 MB / 1.295 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003256/1.916, allocations: 1.17 MB / 1.297 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003315/1.919, allocations: 0.6768 MB / 1.297 GB, free: 23.56 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/1.93, allocations: 4.19 MB / 1.301 GB, free: 23.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.93, allocations: 4 kB / 1.301 GB, free: 23.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.966e-06/1.93, allocations: 1.969 kB / 1.301 GB, free: 23.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001817/1.93, allocations: 0 / 1.301 GB, free: 23.24 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.01128/1.941, allocations: 3.392 MB / 1.305 GB, free: 21.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.941, allocations: 9.094 kB / 1.305 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006615/1.948, allocations: 0.8561 MB / 1.305 GB, free: 21.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006095/1.954, allocations: 1.757 MB / 1.307 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/1.954, allocations: 213.6 kB / 1.307 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/1.956, allocations: 282.7 kB / 1.308 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/1.967, allocations: 3.563 MB / 1.311 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/1.967, allocations: 5.281 kB / 1.311 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007778/1.968, allocations: 118.8 kB / 1.311 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/1.968, allocations: 144.4 kB / 1.311 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008062/1.976, allocations: 3.288 MB / 1.315 GB, free: 20.64 MB / 1.014 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.02618/2.003, allocations: 14.18 MB / 1.328 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004755/2.008, allocations: 2.509 MB / 1.331 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/2.009, allocations: 1.296 MB / 1.332 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002697/2.012, allocations: 1.222 MB / 1.333 GB, free: 10.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=216): time 5.481e-06/2.012, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=216): time 0.007002/2.019, allocations: 3.213 MB / 1.337 GB, free: 10.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/2.019, allocations: 81.22 kB / 1.337 GB, free: 10.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/2.022, allocations: 1.439 MB / 1.338 GB, free: 9.945 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002841/2.022, allocations: 68.52 kB / 1.338 GB, free: 9.914 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/2.023, allocations: 1.112 MB / 1.339 GB, free: 9.457 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008918/2.024, allocations: 0.7376 MB / 1.34 GB, free: 8.977 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/2.024, allocations: 40.94 kB / 1.34 GB, free: 8.977 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002373/2.025, allocations: 396.3 kB / 1.34 GB, free: 8.664 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/2.026, allocations: 0.9227 MB / 1.341 GB, free: 8.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/2.028, allocations: 1.276 MB / 1.342 GB, free: 8.062 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/2.03, allocations: 1.133 MB / 1.344 GB, free: 7.914 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/2.03, allocations: 4 kB / 1.344 GB, free: 7.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004543/2.035, allocations: 2.615 MB / 1.346 GB, free: 7.438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/2.035, allocations: 34.98 kB / 1.346 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/2.035, allocations: 11.39 kB / 1.346 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-05/2.035, allocations: 17.88 kB / 1.346 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/2.037, allocations: 484.3 kB / 1.347 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.87e-05/2.037, allocations: 21.98 kB / 1.347 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/2.04, allocations: 409.2 kB / 1.347 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/2.04, allocations: 80.83 kB / 1.347 GB, free: 7.133 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001711/2.042, allocations: 0.6893 MB / 1.348 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/2.043, allocations: 213.8 kB / 1.348 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/2.047, allocations: 2.558 MB / 1.35 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/2.047, allocations: 20.84 kB / 1.35 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/2.047, allocations: 4 kB / 1.35 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003287/2.05, allocations: 2.35 MB / 1.353 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/2.062, allocations: 5.656 MB / 1.358 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/2.062, allocations: 2.781 kB / 1.358 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/2.064, allocations: 490.6 kB / 1.359 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.709e-05/2.064, allocations: 11.48 kB / 1.359 GB, free: 3.957 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/2.064, allocations: 53.77 kB / 1.359 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/2.064, allocations: 19.56 kB / 1.359 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.064, allocations: 7.266 kB / 1.359 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/2.07, allocations: 3.983 MB / 1.363 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/2.072, allocations: 0.5568 MB / 1.363 GB, free: 2.625 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005758/2.073, allocations: 50.48 kB / 1.363 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/2.075, allocations: 249.8 kB / 1.364 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/2.075, allocations: 148.3 kB / 1.364 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/2.076, allocations: 67.42 kB / 1.364 GB, free: 2.461 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00159/2.077, allocations: 0.9764 MB / 1.365 GB, free: 2.191 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/2.077, allocations: 96 / 1.365 GB, free: 2.191 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002719/2.08, allocations: 0.9481 MB / 1.366 GB, free: 2.051 MB / 1.014 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008004/2.081, allocations: 401 kB / 1.366 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003592/2.084, allocations: 2.361 MB / 1.368 GB, free: 1.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.084, allocations: 0 / 1.368 GB, free: 1.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/2.086, allocations: 1.23 MB / 1.37 GB, free: 1.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/2.092, allocations: 1.21 MB / 1.371 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/2.103, allocations: 7.058 MB / 1.378 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/2.105, allocations: 2.029 MB / 1.38 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003264/2.108, allocations: 0.7368 MB / 1.38 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/2.109, allocations: 201 kB / 1.381 GB, free: 10.45 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/2.109, allocations: 4 kB / 1.381 GB, free: 10.45 MB / 1.029 GB Notification: Performance of Templates: time 0.07289/2.182, allocations: 44.46 MB / 1.424 GB, free: 14.7 MB / 1.076 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","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches