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.006787/0.006788, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001251/0.001251, allocations: 200.6 kB / 16.68 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.567/2.567, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 62.58 kB / 0.9509 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2967, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.88/1.177, allocations: 294.2 MB / 1.375 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02959/1.206, allocations: 23.07 MB / 1.398 GB, free: 2.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004251/1.211, allocations: 80.31 kB / 1.398 GB, free: 2.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005308/1.216, allocations: 1.874 MB / 1.4 GB, free: 1.711 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01598/1.232, allocations: 6.316 MB / 1.406 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008252/1.24, allocations: 2.92 MB / 1.409 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009648/1.25, allocations: 7.317 MB / 1.416 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00414/1.254, allocations: 2.965 MB / 1.419 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009146/1.263, allocations: 2.941 MB / 1.422 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00603/1.269, allocations: 2.713 MB / 1.424 GB, free: 3.574 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001465/1.271, allocations: 346.4 kB / 1.425 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/1.285, allocations: 6.017 MB / 1.431 GB, free: 236 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00279/1.287, allocations: 1.466 MB / 1.432 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004707/1.292, allocations: 1.908 MB / 1.434 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01466/1.307, allocations: 6.947 MB / 1.441 GB, free: 6.465 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.307, allocations: 0 / 1.441 GB, free: 6.465 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.307, allocations: 0 / 1.441 GB, free: 6.465 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001383/1.307, allocations: 4 kB / 1.441 GB, free: 6.461 MB / 1.061 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.01046/1.317, allocations: 4.202 MB / 1.445 GB, free: 2.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.318, allocations: 8.031 kB / 1.445 GB, free: 2.172 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005734/1.323, allocations: 0.8566 MB / 1.446 GB, free: 1.312 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/1.327, allocations: 1.874 MB / 1.447 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.327, allocations: 209.4 kB / 1.448 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004502/1.328, allocations: 279.9 kB / 1.448 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005985/1.334, allocations: 3.597 MB / 1.451 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/1.334, allocations: 7.938 kB / 1.451 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/1.334, allocations: 112 kB / 1.451 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/1.334, allocations: 145.3 kB / 1.452 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005621/1.34, allocations: 3.284 MB / 1.455 GB, free: 7.621 MB / 1.076 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.01688/1.357, allocations: 14.23 MB / 1.469 GB, free: 8.164 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/1.36, allocations: 2.494 MB / 1.471 GB, free: 5.605 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/1.362, allocations: 1.349 MB / 1.472 GB, free: 4.25 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.363, allocations: 1.382 MB / 1.474 GB, free: 2.57 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001951/1.365, allocations: 1.23 MB / 1.475 GB, free: 1.328 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 5.36e-06/1.365, allocations: 4 kB / 1.475 GB, free: 1.324 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.005639/1.371, allocations: 3.177 MB / 1.478 GB, free: 14.14 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/1.371, allocations: 73.41 kB / 1.478 GB, free: 14.05 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/1.373, allocations: 1.456 MB / 1.48 GB, free: 12.59 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/1.373, allocations: 69.7 kB / 1.48 GB, free: 12.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000946/1.374, allocations: 1.145 MB / 1.481 GB, free: 11.36 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/1.375, allocations: 0.7628 MB / 1.482 GB, free: 10.6 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005643/1.375, allocations: 367.5 kB / 1.482 GB, free: 10.23 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/1.375, allocations: 301.1 kB / 1.482 GB, free: 9.934 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/1.377, allocations: 0.9136 MB / 1.483 GB, free: 9.016 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.379, allocations: 1.258 MB / 1.484 GB, free: 7.637 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/1.382, allocations: 2.325 MB / 1.487 GB, free: 5.207 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/1.382, allocations: 8.062 kB / 1.487 GB, free: 5.199 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004398/1.387, allocations: 2.606 MB / 1.489 GB, free: 2.578 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/1.387, allocations: 37.69 kB / 1.489 GB, free: 2.535 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.387, allocations: 8 kB / 1.489 GB, free: 2.527 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/1.387, allocations: 16 kB / 1.489 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/1.389, allocations: 475.9 kB / 1.49 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.172e-05/1.389, allocations: 16 kB / 1.49 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.391, allocations: 190.6 kB / 1.49 GB, free: 1.844 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/1.391, allocations: 83.92 kB / 1.49 GB, free: 1.762 MB / 1.107 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.00126/1.393, allocations: 0.6807 MB / 1.491 GB, free: 1.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/1.393, allocations: 230.6 kB / 1.491 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/1.398, allocations: 2.515 MB / 1.493 GB, free: 14.3 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.398, allocations: 24 kB / 1.493 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.398, allocations: 0 / 1.493 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003408/1.401, allocations: 2.331 MB / 1.496 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009679/1.411, allocations: 5.612 MB / 1.501 GB, free: 6.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.411, allocations: 4.312 kB / 1.501 GB, free: 6.156 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/1.413, allocations: 479.3 kB / 1.502 GB, free: 5.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.842e-05/1.413, allocations: 8 kB / 1.502 GB, free: 5.68 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/1.413, allocations: 55.97 kB / 1.502 GB, free: 5.625 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/1.413, allocations: 16 kB / 1.502 GB, free: 5.609 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.413, allocations: 0 / 1.502 GB, free: 5.609 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/1.419, allocations: 3.811 MB / 1.505 GB, free: 1.754 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.42, allocations: 0.5538 MB / 1.506 GB, free: 1.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/1.421, allocations: 44 kB / 1.506 GB, free: 1.137 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.423, allocations: 61.09 kB / 1.506 GB, free: 1.078 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/1.423, allocations: 153.7 kB / 1.506 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.423, allocations: 71.97 kB / 1.506 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00142/1.425, allocations: 0.9867 MB / 1.507 GB, free: 15.87 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.425, allocations: 0 / 1.507 GB, free: 15.87 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002447/1.427, allocations: 0.9434 MB / 1.508 GB, free: 14.93 MB / 1.139 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.0008092/1.428, allocations: 387.1 kB / 1.508 GB, free: 14.55 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.432, allocations: 2.345 MB / 1.511 GB, free: 12.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.432, allocations: 4.562 kB / 1.511 GB, free: 12.19 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.434, allocations: 1.229 MB / 1.512 GB, free: 10.96 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/1.439, allocations: 1.284 MB / 1.513 GB, free: 9.703 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009507/1.449, allocations: 5.861 MB / 1.519 GB, free: 3.77 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/1.451, allocations: 1.971 MB / 1.521 GB, free: 1.762 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002713/1.454, allocations: 0.721 MB / 1.522 GB, free: 1.039 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007942/1.455, allocations: 195.4 kB / 1.522 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of SimCode: time 7.71e-07/1.455, allocations: 0 / 1.522 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of Templates: time 0.0739/1.528, allocations: 47.81 MB / 1.568 GB, free: 1.586 MB / 1.186 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches