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.0009/0.0009, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008837/0.0008838, allocations: 168.7 kB / 15.95 MB, free: 204 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.618/1.618, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.038/3.038, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004374, allocations: 11.09 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3668, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.069/1.436, allocations: 268.8 MB / 1.321 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03195/1.468, allocations: 21.5 MB / 1.342 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005968/1.474, allocations: 62.31 kB / 1.342 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005584/1.48, allocations: 1.175 MB / 1.343 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01636/1.496, allocations: 4.462 MB / 1.347 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00815/1.504, allocations: 2.049 MB / 1.349 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01226/1.517, allocations: 8.953 MB / 1.358 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004252/1.521, allocations: 2.251 MB / 1.36 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006427/1.527, allocations: 2.367 MB / 1.362 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005926/1.533, allocations: 2.612 MB / 1.365 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007391/1.534, allocations: 167.4 kB / 1.365 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/1.545, allocations: 3.134 MB / 1.368 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002677/1.548, allocations: 1.286 MB / 1.369 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002412/1.551, allocations: 0.68 MB / 1.37 GB, free: 19.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008498/1.559, allocations: 4.65 MB / 1.375 GB, free: 17.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.559, allocations: 2.938 kB / 1.375 GB, free: 17.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/1.559, allocations: 0 / 1.375 GB, free: 17.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002425/1.559, allocations: 0 / 1.375 GB, free: 17.73 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.01179/1.571, allocations: 3.526 MB / 1.378 GB, free: 15.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/1.571, allocations: 8.688 kB / 1.378 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007064/1.578, allocations: 0.8434 MB / 1.379 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005721/1.584, allocations: 1.857 MB / 1.381 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/1.584, allocations: 210.5 kB / 1.381 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009652/1.585, allocations: 279.9 kB / 1.381 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/1.598, allocations: 3.582 MB / 1.385 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/1.598, allocations: 4.438 kB / 1.385 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/1.599, allocations: 116.2 kB / 1.385 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/1.599, allocations: 145.9 kB / 1.385 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007931/1.607, allocations: 3.291 MB / 1.388 GB, free: 12.7 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.0216/1.629, allocations: 14.18 MB / 1.402 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/1.633, allocations: 2.491 MB / 1.404 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/1.635, allocations: 1.367 MB / 1.406 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.637, allocations: 1.38 MB / 1.407 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/1.639, allocations: 1.243 MB / 1.408 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=216): time 5.941e-06/1.639, allocations: 0 / 1.408 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=216): time 0.00709/1.646, allocations: 3.215 MB / 1.411 GB, free: 15.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/1.646, allocations: 77.94 kB / 1.412 GB, free: 15.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/1.65, allocations: 1.436 MB / 1.413 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004339/1.651, allocations: 68.08 kB / 1.413 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.652, allocations: 1.121 MB / 1.414 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.654, allocations: 0.7418 MB / 1.415 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/1.654, allocations: 42.56 kB / 1.415 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003991/1.655, allocations: 385.5 kB / 1.415 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/1.657, allocations: 0.9172 MB / 1.416 GB, free: 11.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/1.659, allocations: 1.28 MB / 1.417 GB, free: 10.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/1.662, allocations: 1.137 MB / 1.418 GB, free: 10.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/1.662, allocations: 4 kB / 1.418 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00589/1.668, allocations: 2.618 MB / 1.421 GB, free: 8.379 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/1.668, allocations: 40.72 kB / 1.421 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.668, allocations: 11.94 kB / 1.421 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-05/1.668, allocations: 16 kB / 1.421 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.67, allocations: 487.9 kB / 1.422 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-05/1.67, allocations: 19.94 kB / 1.422 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.674, allocations: 402.2 kB / 1.422 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/1.674, allocations: 80.92 kB / 1.422 GB, free: 7.402 MB / 1.029 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.001733/1.676, allocations: 0.6891 MB / 1.423 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/1.676, allocations: 217.4 kB / 1.423 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/1.681, allocations: 2.549 MB / 1.425 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/1.681, allocations: 28 kB / 1.425 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.681, allocations: 0 / 1.425 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003609/1.685, allocations: 2.359 MB / 1.428 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/1.699, allocations: 5.647 MB / 1.433 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.699, allocations: 7.938 kB / 1.433 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.702, allocations: 488 kB / 1.434 GB, free: 14.94 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.078e-05/1.702, allocations: 12 kB / 1.434 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/1.702, allocations: 60.11 kB / 1.434 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-05/1.702, allocations: 8 kB / 1.434 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.702, allocations: 7.938 kB / 1.434 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006723/1.709, allocations: 3.836 MB / 1.438 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.711, allocations: 0.541 MB / 1.438 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006866/1.712, allocations: 47.98 kB / 1.438 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/1.714, allocations: 248.1 kB / 1.438 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/1.715, allocations: 153.8 kB / 1.439 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.715, allocations: 67.98 kB / 1.439 GB, free: 10.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001973/1.717, allocations: 0.9749 MB / 1.44 GB, free: 9.441 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.81e-07/1.717, allocations: 4 kB / 1.44 GB, free: 9.438 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004348/1.721, allocations: 0.9429 MB / 1.44 GB, free: 8.492 MB / 1.045 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.001526/1.723, allocations: 411 kB / 1.441 GB, free: 8.117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005057/1.728, allocations: 2.353 MB / 1.443 GB, free: 5.754 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.728, allocations: 4.125 kB / 1.443 GB, free: 5.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002267/1.73, allocations: 1.233 MB / 1.444 GB, free: 4.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00731/1.737, allocations: 1.253 MB / 1.446 GB, free: 3.277 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/1.751, allocations: 7.091 MB / 1.452 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/1.754, allocations: 1.982 MB / 1.454 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004049/1.758, allocations: 0.7368 MB / 1.455 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.759, allocations: 199.4 kB / 1.455 GB, free: 9.168 MB / 1.061 GB Notification: Performance of SimCode: time 1.453e-06/1.759, allocations: 0 / 1.455 GB, free: 9.168 MB / 1.061 GB Notification: Performance of Templates: time 0.08377/1.843, allocations: 44.51 MB / 1.499 GB, free: 13.24 MB / 1.107 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