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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001115/0.001115, allocations: 100.1 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.001302/0.001302, 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6653 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.000309, allocations: 12 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6187/0.619, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2422/0.8612, allocations: 238.7 MB / 1.187 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02959/0.8908, allocations: 21.25 MB / 1.207 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/0.8943, allocations: 55.69 kB / 1.207 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.8991, allocations: 1.544 MB / 1.209 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.912, allocations: 4.58 MB / 1.213 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/0.9179, allocations: 2.123 MB / 1.215 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006705/0.9246, allocations: 4.167 MB / 1.22 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.9279, allocations: 2.284 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.9326, allocations: 2.236 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.9355, allocations: 1.74 MB / 1.226 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005899/0.9361, allocations: 168 kB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006605/0.9428, allocations: 2.395 MB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.9443, allocations: 1.169 MB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.9458, allocations: 0.672 MB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.9518, allocations: 4.193 MB / 1.234 GB, free: 232 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.9518, allocations: 0 / 1.234 GB, free: 232 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9518, allocations: 0 / 1.234 GB, free: 232 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.935e-05/0.9519, allocations: 0 / 1.234 GB, free: 232 kB / 0.9825 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.00872/0.9606, allocations: 3.391 MB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.9606, allocations: 8.031 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005471/0.9661, allocations: 0.8586 MB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/0.9698, allocations: 1.757 MB / 1.24 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.9699, allocations: 217.4 kB / 1.24 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/0.9704, allocations: 275.9 kB / 1.24 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005755/0.9761, allocations: 3.573 MB / 1.244 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.9762, allocations: 3.938 kB / 1.244 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/0.9765, allocations: 116 kB / 1.244 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.9766, allocations: 149.2 kB / 1.244 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/0.9824, allocations: 3.292 MB / 1.247 GB, free: 2.328 MB / 0.9981 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.4529/1.435, allocations: 14.16 MB / 1.261 GB, free: 272.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00397/1.439, allocations: 2.506 MB / 1.264 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000904/1.44, allocations: 1.296 MB / 1.265 GB, free: 269.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/1.442, allocations: 1.222 MB / 1.266 GB, free: 269 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=216): time 4.068e-06/1.442, allocations: 0 / 1.266 GB, free: 269 MB / 0.9981 GB Notification: Performance of matching and sorting (n=216): time 0.006473/1.449, allocations: 3.21 MB / 1.269 GB, free: 267.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/1.449, allocations: 83.48 kB / 1.269 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.451, allocations: 1.438 MB / 1.271 GB, free: 267 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/1.451, allocations: 65.77 kB / 1.271 GB, free: 266.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008337/1.452, allocations: 1.117 MB / 1.272 GB, free: 266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008823/1.453, allocations: 0.7424 MB / 1.273 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.453, allocations: 41.62 kB / 1.273 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.453, allocations: 382.6 kB / 1.273 GB, free: 265 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/1.455, allocations: 0.9235 MB / 1.274 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/1.457, allocations: 1.274 MB / 1.275 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.458, allocations: 1.131 MB / 1.276 GB, free: 263 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/1.458, allocations: 9.391 kB / 1.276 GB, free: 263 MB / 0.9981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004248/1.463, allocations: 2.617 MB / 1.279 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/1.463, allocations: 34.08 kB / 1.279 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.463, allocations: 7.188 kB / 1.279 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.463, allocations: 17.56 kB / 1.279 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/1.465, allocations: 487.7 kB / 1.279 GB, free: 261.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/1.465, allocations: 24.91 kB / 1.279 GB, free: 261.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/1.468, allocations: 407.9 kB / 1.28 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/1.468, allocations: 79.17 kB / 1.28 GB, free: 261.3 MB / 0.9981 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.001267/1.469, allocations: 0.684 MB / 1.28 GB, free: 260.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/1.47, allocations: 218.6 kB / 1.281 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/1.474, allocations: 2.56 MB / 1.283 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/1.474, allocations: 21.44 kB / 1.283 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.474, allocations: 1.625 kB / 1.283 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003258/1.477, allocations: 2.363 MB / 1.285 GB, free: 258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/1.486, allocations: 5.646 MB / 1.291 GB, free: 254.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.486, allocations: 3.969 kB / 1.291 GB, free: 254.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.488, allocations: 493.4 kB / 1.291 GB, free: 254.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/1.488, allocations: 7.906 kB / 1.291 GB, free: 254.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.488, allocations: 55.56 kB / 1.292 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.488, allocations: 11.88 kB / 1.292 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.488, allocations: 7.906 kB / 1.292 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/1.493, allocations: 3.992 MB / 1.295 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.494, allocations: 0.5479 MB / 1.296 GB, free: 251.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/1.495, allocations: 46.83 kB / 1.296 GB, free: 251.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.497, allocations: 246.6 kB / 1.296 GB, free: 251.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.497, allocations: 158.3 kB / 1.296 GB, free: 251.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.497, allocations: 68.64 kB / 1.296 GB, free: 251.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001105/1.498, allocations: 0.9761 MB / 1.297 GB, free: 251 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.498, allocations: 0 / 1.297 GB, free: 251 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002082/1.5, allocations: 0.9401 MB / 1.298 GB, free: 250.8 MB / 0.9981 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.0007133/1.501, allocations: 416.2 kB / 1.299 GB, free: 250.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003237/1.504, allocations: 2.357 MB / 1.301 GB, free: 248.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.504, allocations: 4 kB / 1.301 GB, free: 248.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/1.506, allocations: 1.236 MB / 1.302 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005068/1.511, allocations: 1.208 MB / 1.303 GB, free: 246.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/1.521, allocations: 7.062 MB / 1.31 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.522, allocations: 2.022 MB / 1.312 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00269/1.525, allocations: 0.7369 MB / 1.313 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/1.525, allocations: 199.4 kB / 1.313 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.525, allocations: 0 / 1.313 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.05732/1.583, allocations: 44.47 MB / 1.357 GB, free: 192.3 MB / 0.9981 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","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches