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.001389/0.001389, allocations: 109 kB / 16.41 MB, free: 6.492 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.002005/0.002006, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.725/1.725, allocations: 222.9 MB / 241 MB, free: 15.14 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.743/2.743, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514/1.515, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6895/2.204, allocations: 294.2 MB / 1.376 GB, free: 7.035 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03654/2.241, allocations: 23.05 MB / 1.399 GB, free: 15.92 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006666/2.248, allocations: 75.62 kB / 1.399 GB, free: 15.85 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007593/2.255, allocations: 1.869 MB / 1.4 GB, free: 13.97 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.02029/2.276, allocations: 6.317 MB / 1.407 GB, free: 7.625 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009632/2.285, allocations: 2.929 MB / 1.409 GB, free: 4.699 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01256/2.298, allocations: 7.314 MB / 1.417 GB, free: 13.36 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009815/2.308, allocations: 2.976 MB / 1.419 GB, free: 10.34 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/2.319, allocations: 2.939 MB / 1.422 GB, free: 7.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007241/2.326, allocations: 2.715 MB / 1.425 GB, free: 4.695 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002341/2.328, allocations: 340 kB / 1.425 GB, free: 4.363 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01768/2.346, allocations: 6.025 MB / 1.431 GB, free: 14.32 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002853/2.349, allocations: 1.465 MB / 1.433 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003498/2.353, allocations: 1.902 MB / 1.435 GB, free: 10.95 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/2.369, allocations: 6.931 MB / 1.441 GB, free: 3.996 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/2.369, allocations: 0 / 1.441 GB, free: 3.996 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.472e-06/2.369, allocations: 0 / 1.441 GB, free: 3.996 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002173/2.369, allocations: 8 kB / 1.441 GB, free: 3.988 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.01507/2.384, allocations: 4.088 MB / 1.445 GB, free: 15.83 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/2.384, allocations: 8.031 kB / 1.445 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006381/2.391, allocations: 0.8507 MB / 1.446 GB, free: 14.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/2.395, allocations: 1.853 MB / 1.448 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/2.395, allocations: 205.4 kB / 1.448 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004529/2.396, allocations: 275.9 kB / 1.448 GB, free: 12.58 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006246/2.402, allocations: 3.604 MB / 1.452 GB, free: 8.852 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/2.402, allocations: 7.938 kB / 1.452 GB, free: 8.844 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/2.402, allocations: 112 kB / 1.452 GB, free: 8.734 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/2.402, allocations: 153.2 kB / 1.452 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00534/2.408, allocations: 3.284 MB / 1.455 GB, free: 5.285 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.01596/2.424, allocations: 14.21 MB / 1.469 GB, free: 5.848 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/2.427, allocations: 2.48 MB / 1.472 GB, free: 3.297 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/2.429, allocations: 1.349 MB / 1.473 GB, free: 1.945 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/2.43, allocations: 1.382 MB / 1.474 GB, free: 272 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/2.432, allocations: 1.222 MB / 1.476 GB, free: 15.03 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 3.827e-06/2.432, allocations: 3.938 kB / 1.476 GB, free: 15.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.006576/2.439, allocations: 3.173 MB / 1.479 GB, free: 11.85 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/2.439, allocations: 77.34 kB / 1.479 GB, free: 11.76 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/2.442, allocations: 1.452 MB / 1.48 GB, free: 10.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/2.442, allocations: 69.7 kB / 1.48 GB, free: 10.23 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/2.443, allocations: 1.115 MB / 1.481 GB, free: 9.102 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008516/2.444, allocations: 0.7315 MB / 1.482 GB, free: 8.359 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005905/2.445, allocations: 359.5 kB / 1.482 GB, free: 8 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001473/2.445, allocations: 305.1 kB / 1.483 GB, free: 7.699 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/2.447, allocations: 0.9136 MB / 1.484 GB, free: 6.781 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/2.448, allocations: 1.251 MB / 1.485 GB, free: 5.41 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/2.452, allocations: 2.329 MB / 1.487 GB, free: 2.977 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/2.452, allocations: 0 / 1.487 GB, free: 2.977 MB / 1.217 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004404/2.456, allocations: 2.598 MB / 1.49 GB, free: 368 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/2.456, allocations: 33.7 kB / 1.49 GB, free: 328 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/2.456, allocations: 11.98 kB / 1.49 GB, free: 316 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/2.456, allocations: 20 kB / 1.49 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/2.458, allocations: 467.4 kB / 1.49 GB, free: 15.83 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-05/2.458, allocations: 27.86 kB / 1.49 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/2.46, allocations: 194.1 kB / 1.49 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/2.46, allocations: 79.98 kB / 1.49 GB, free: 15.54 MB / 1.232 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.001263/2.462, allocations: 0.6807 MB / 1.491 GB, free: 14.84 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/2.462, allocations: 213.5 kB / 1.491 GB, free: 14.63 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/2.466, allocations: 2.522 MB / 1.494 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/2.466, allocations: 20 kB / 1.494 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/2.466, allocations: 3.938 kB / 1.494 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003491/2.47, allocations: 2.331 MB / 1.496 GB, free: 9.672 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009369/2.479, allocations: 5.604 MB / 1.501 GB, free: 3.949 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/2.479, allocations: 4 kB / 1.501 GB, free: 3.945 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/2.481, allocations: 471.7 kB / 1.502 GB, free: 3.484 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/2.481, allocations: 8 kB / 1.502 GB, free: 3.477 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/2.482, allocations: 59.97 kB / 1.502 GB, free: 3.418 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-05/2.482, allocations: 15.94 kB / 1.502 GB, free: 3.402 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.482, allocations: 0 / 1.502 GB, free: 3.402 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005916/2.488, allocations: 3.809 MB / 1.506 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/2.489, allocations: 0.541 MB / 1.506 GB, free: 14.98 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/2.489, allocations: 43.98 kB / 1.506 GB, free: 14.94 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/2.49, allocations: 61.09 kB / 1.506 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/2.491, allocations: 157.7 kB / 1.506 GB, free: 14.73 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/2.491, allocations: 71.97 kB / 1.507 GB, free: 14.66 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001368/2.492, allocations: 0.9866 MB / 1.508 GB, free: 13.68 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.944e-06/2.492, allocations: 0 / 1.508 GB, free: 13.68 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002129/2.494, allocations: 0.9389 MB / 1.508 GB, free: 12.73 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.0008007/2.495, allocations: 371.9 kB / 1.509 GB, free: 12.37 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00379/2.499, allocations: 2.348 MB / 1.511 GB, free: 10.01 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.499, allocations: 0 / 1.511 GB, free: 10.01 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/2.501, allocations: 1.219 MB / 1.512 GB, free: 8.797 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/2.506, allocations: 1.29 MB / 1.514 GB, free: 7.527 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/2.515, allocations: 5.948 MB / 1.519 GB, free: 1.508 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/2.517, allocations: 1.975 MB / 1.521 GB, free: 15.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/2.518, allocations: 215.4 kB / 1.521 GB, free: 15.29 MB / 1.264 GB Notification: Performance of SimCode: time 1.052e-06/2.518, allocations: 4 kB / 1.521 GB, free: 15.28 MB / 1.264 GB Notification: Performance of Templates: time 0.06468/2.583, allocations: 41.8 MB / 1.562 GB, free: 5.703 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