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.001841/0.001841, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001644/0.001644, allocations: 185.1 kB / 17.34 MB, free: 5.629 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.19 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.587/2.587, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257/1.258, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3882/1.646, allocations: 294.3 MB / 1.376 GB, free: 7.129 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.04068/1.687, allocations: 23.05 MB / 1.399 GB, free: 16 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005993/1.693, allocations: 79.73 kB / 1.399 GB, free: 15.93 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007206/1.7, allocations: 1.791 MB / 1.4 GB, free: 14.13 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0232/1.724, allocations: 6.129 MB / 1.406 GB, free: 7.98 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.01139/1.735, allocations: 2.883 MB / 1.409 GB, free: 5.098 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01196/1.747, allocations: 7.308 MB / 1.416 GB, free: 13.77 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006352/1.753, allocations: 2.976 MB / 1.419 GB, free: 10.74 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008512/1.762, allocations: 2.908 MB / 1.422 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006241/1.768, allocations: 2.707 MB / 1.425 GB, free: 5.141 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001731/1.77, allocations: 344 kB / 1.425 GB, free: 4.805 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/1.785, allocations: 5.993 MB / 1.431 GB, free: 14.8 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003261/1.788, allocations: 1.461 MB / 1.432 GB, free: 13.33 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005794/1.794, allocations: 1.906 MB / 1.434 GB, free: 11.42 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01929/1.814, allocations: 6.923 MB / 1.441 GB, free: 4.477 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.814, allocations: 4 kB / 1.441 GB, free: 4.473 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.575e-06/1.814, allocations: 0 / 1.441 GB, free: 4.473 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002314/1.814, allocations: 0 / 1.441 GB, free: 4.473 MB / 1.17 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.01499/1.829, allocations: 4.096 MB / 1.445 GB, free: 312 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.829, allocations: 8.031 kB / 1.445 GB, free: 304 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006725/1.836, allocations: 0.8546 MB / 1.446 GB, free: 15.44 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005414/1.841, allocations: 1.849 MB / 1.448 GB, free: 13.53 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/1.841, allocations: 205.4 kB / 1.448 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/1.843, allocations: 279.9 kB / 1.448 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007915/1.85, allocations: 3.601 MB / 1.452 GB, free: 9.328 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.076e-05/1.851, allocations: 7.938 kB / 1.452 GB, free: 9.32 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/1.851, allocations: 116 kB / 1.452 GB, free: 9.207 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/1.851, allocations: 153.2 kB / 1.452 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005468/1.856, allocations: 3.284 MB / 1.455 GB, free: 5.758 MB / 1.186 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.01724/1.874, allocations: 14.2 MB / 1.469 GB, free: 6.324 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/1.877, allocations: 2.484 MB / 1.471 GB, free: 3.77 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/1.879, allocations: 1.352 MB / 1.473 GB, free: 2.414 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.881, allocations: 1.375 MB / 1.474 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/1.883, allocations: 1.23 MB / 1.475 GB, free: 15.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 4.278e-06/1.883, allocations: 3.938 kB / 1.475 GB, free: 15.49 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.006064/1.889, allocations: 3.169 MB / 1.478 GB, free: 12.32 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/1.889, allocations: 85.28 kB / 1.478 GB, free: 12.22 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/1.891, allocations: 1.452 MB / 1.48 GB, free: 10.77 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/1.891, allocations: 65.7 kB / 1.48 GB, free: 10.7 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.893, allocations: 1.115 MB / 1.481 GB, free: 9.566 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00081/1.893, allocations: 0.7353 MB / 1.482 GB, free: 8.824 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005722/1.894, allocations: 359.5 kB / 1.482 GB, free: 8.465 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.894, allocations: 301.1 kB / 1.482 GB, free: 8.168 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/1.896, allocations: 0.9214 MB / 1.483 GB, free: 7.242 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/1.898, allocations: 1.247 MB / 1.484 GB, free: 5.875 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/1.901, allocations: 2.329 MB / 1.487 GB, free: 3.441 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.901, allocations: 0 / 1.487 GB, free: 3.441 MB / 1.217 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004697/1.906, allocations: 2.598 MB / 1.489 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/1.906, allocations: 33.83 kB / 1.489 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.906, allocations: 12 kB / 1.489 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/1.906, allocations: 16 kB / 1.489 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.908, allocations: 471.3 kB / 1.49 GB, free: 304 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/1.908, allocations: 19.94 kB / 1.49 GB, free: 284 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.91, allocations: 186 kB / 1.49 GB, free: 96 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/1.911, allocations: 87.92 kB / 1.49 GB, free: 8 kB / 1.217 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.001628/1.912, allocations: 0.6769 MB / 1.491 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/1.913, allocations: 217.5 kB / 1.491 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/1.917, allocations: 2.519 MB / 1.493 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/1.917, allocations: 23.98 kB / 1.493 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.917, allocations: 3.938 kB / 1.493 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/1.921, allocations: 2.331 MB / 1.496 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009682/1.93, allocations: 5.612 MB / 1.501 GB, free: 4.414 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.93, allocations: 4 kB / 1.501 GB, free: 4.41 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.933, allocations: 475.7 kB / 1.502 GB, free: 3.945 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/1.933, allocations: 8 kB / 1.502 GB, free: 3.938 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/1.933, allocations: 55.98 kB / 1.502 GB, free: 3.883 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/1.933, allocations: 12 kB / 1.502 GB, free: 3.871 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.933, allocations: 4 kB / 1.502 GB, free: 3.867 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/1.939, allocations: 3.809 MB / 1.505 GB, free: 12 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.941, allocations: 0.5371 MB / 1.506 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/1.941, allocations: 40 kB / 1.506 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.942, allocations: 70.58 kB / 1.506 GB, free: 15.35 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.943, allocations: 149.7 kB / 1.506 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.943, allocations: 67.98 kB / 1.506 GB, free: 15.13 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001417/1.944, allocations: 0.9906 MB / 1.507 GB, free: 14.15 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.623e-06/1.944, allocations: 0 / 1.507 GB, free: 14.15 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002472/1.947, allocations: 0.9428 MB / 1.508 GB, free: 13.2 MB / 1.248 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.0008462/1.948, allocations: 373.7 kB / 1.508 GB, free: 12.84 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.951, allocations: 2.345 MB / 1.511 GB, free: 10.48 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.951, allocations: 3.938 kB / 1.511 GB, free: 10.48 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.953, allocations: 1.214 MB / 1.512 GB, free: 9.27 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006269/1.96, allocations: 1.285 MB / 1.513 GB, free: 8.004 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.97, allocations: 5.948 MB / 1.519 GB, free: 1.984 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/1.971, allocations: 1.975 MB / 1.521 GB, free: 15.97 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.973, allocations: 215.3 kB / 1.521 GB, free: 15.76 MB / 1.264 GB Notification: Performance of SimCode: time 1.203e-06/1.973, allocations: 0 / 1.521 GB, free: 15.76 MB / 1.264 GB Notification: Performance of Templates: time 0.06755/2.04, allocations: 41.81 MB / 1.562 GB, free: 6.176 MB / 1.295 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