Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001116/0.001117, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008876/0.008876, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.044/3.044, allocations: 470.6 MB / 0.7441 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003886, allocations: 12.59 kB / 0.9123 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.022/1.404, allocations: 288.1 MB / 1.351 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03114/1.436, allocations: 22.99 MB / 1.374 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004999/1.441, allocations: 63.75 kB / 1.374 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005465/1.446, allocations: 1.55 MB / 1.375 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01886/1.465, allocations: 5.775 MB / 1.381 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008555/1.474, allocations: 2.633 MB / 1.383 GB, free: 0 / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01427/1.488, allocations: 10.74 MB / 1.394 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004904/1.493, allocations: 2.433 MB / 1.396 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009053/1.502, allocations: 2.436 MB / 1.399 GB, free: 9.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007224/1.509, allocations: 2.706 MB / 1.401 GB, free: 8.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001455/1.511, allocations: 166.2 kB / 1.402 GB, free: 8.258 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01717/1.528, allocations: 6.868 MB / 1.408 GB, free: 5.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00315/1.531, allocations: 1.277 MB / 1.409 GB, free: 4.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005664/1.537, allocations: 1.705 MB / 1.411 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01923/1.556, allocations: 7.082 MB / 1.418 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.556, allocations: 2.812 kB / 1.418 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.328e-06/1.556, allocations: 0 / 1.418 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002594/1.556, allocations: 4 kB / 1.418 GB, free: 15.24 MB / 1.029 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.01258/1.569, allocations: 3.481 MB / 1.421 GB, free: 12.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.569, allocations: 13.03 kB / 1.421 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/1.576, allocations: 0.8408 MB / 1.422 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005002/1.581, allocations: 1.784 MB / 1.424 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/1.581, allocations: 216.4 kB / 1.424 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/1.582, allocations: 275.9 kB / 1.424 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/1.593, allocations: 3.605 MB / 1.428 GB, free: 6.488 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/1.593, allocations: 7.938 kB / 1.428 GB, free: 6.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007896/1.594, allocations: 115 kB / 1.428 GB, free: 6.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002647/1.594, allocations: 149.2 kB / 1.428 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008631/1.603, allocations: 3.3 MB / 1.431 GB, free: 2.91 MB / 1.029 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.02535/1.628, allocations: 14.17 MB / 1.445 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/1.633, allocations: 2.481 MB / 1.448 GB, free: 1.094 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/1.636, allocations: 1.36 MB / 1.449 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/1.638, allocations: 1.381 MB / 1.45 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00282/1.641, allocations: 1.235 MB / 1.452 GB, free: 12.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 6.823e-06/1.641, allocations: 4 kB / 1.452 GB, free: 12.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.007662/1.648, allocations: 3.18 MB / 1.455 GB, free: 9.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.648, allocations: 77.34 kB / 1.455 GB, free: 9.543 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/1.652, allocations: 1.456 MB / 1.456 GB, free: 8.082 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002839/1.652, allocations: 65.7 kB / 1.456 GB, free: 8.012 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.653, allocations: 1.121 MB / 1.457 GB, free: 6.879 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.655, allocations: 0.7369 MB / 1.458 GB, free: 6.148 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/1.655, allocations: 161.7 kB / 1.458 GB, free: 5.984 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.655, allocations: 309.1 kB / 1.459 GB, free: 5.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/1.657, allocations: 0.9214 MB / 1.459 GB, free: 4.754 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/1.66, allocations: 1.255 MB / 1.461 GB, free: 3.375 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/1.664, allocations: 2.333 MB / 1.463 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.664, allocations: 8 kB / 1.463 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005875/1.67, allocations: 2.602 MB / 1.466 GB, free: 14.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/1.67, allocations: 33.83 kB / 1.466 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/1.67, allocations: 12 kB / 1.466 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.59e-05/1.67, allocations: 16 kB / 1.466 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.672, allocations: 475.3 kB / 1.466 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.514e-05/1.673, allocations: 27.88 kB / 1.466 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.676, allocations: 409.7 kB / 1.466 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/1.676, allocations: 83.98 kB / 1.467 GB, free: 13.27 MB / 1.076 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.001816/1.678, allocations: 0.6855 MB / 1.467 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/1.679, allocations: 213.5 kB / 1.467 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005667/1.685, allocations: 2.53 MB / 1.47 GB, free: 9.816 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.685, allocations: 20 kB / 1.47 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.685, allocations: 7.938 kB / 1.47 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004246/1.689, allocations: 2.331 MB / 1.472 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/1.702, allocations: 5.628 MB / 1.478 GB, free: 1.703 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.702, allocations: 4 kB / 1.478 GB, free: 1.699 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/1.704, allocations: 483.7 kB / 1.478 GB, free: 1.227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.813e-05/1.704, allocations: 12 kB / 1.478 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/1.704, allocations: 55.98 kB / 1.478 GB, free: 1.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.723e-05/1.704, allocations: 11.94 kB / 1.478 GB, free: 1.148 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.704, allocations: 8 kB / 1.478 GB, free: 1.141 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/1.712, allocations: 3.811 MB / 1.482 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.714, allocations: 0.5448 MB / 1.482 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007993/1.715, allocations: 40 kB / 1.483 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.718, allocations: 248.8 kB / 1.483 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/1.718, allocations: 157.7 kB / 1.483 GB, free: 12.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/1.719, allocations: 75.91 kB / 1.483 GB, free: 12.21 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002249/1.721, allocations: 0.9866 MB / 1.484 GB, free: 11.23 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.41e-07/1.721, allocations: 0 / 1.484 GB, free: 11.23 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003682/1.725, allocations: 0.9312 MB / 1.485 GB, free: 10.29 MB / 1.092 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.001154/1.726, allocations: 385.6 kB / 1.485 GB, free: 9.93 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004958/1.731, allocations: 2.345 MB / 1.488 GB, free: 7.574 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.731, allocations: 4 kB / 1.488 GB, free: 7.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/1.733, allocations: 1.225 MB / 1.489 GB, free: 6.348 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008356/1.741, allocations: 1.237 MB / 1.49 GB, free: 5.121 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.755, allocations: 7.281 MB / 1.497 GB, free: 13.78 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.759, allocations: 1.971 MB / 1.499 GB, free: 11.77 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004772/1.763, allocations: 0.729 MB / 1.5 GB, free: 11.04 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.765, allocations: 187.4 kB / 1.5 GB, free: 10.86 MB / 1.107 GB Notification: Performance of SimCode: time 1.934e-06/1.765, allocations: 0 / 1.5 GB, free: 10.86 MB / 1.107 GB Notification: Performance of Templates: time 0.1032/1.868, allocations: 45.1 MB / 1.544 GB, free: 14.32 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches