Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007947/0.007946, allocations: 98.02 kB / 15.73 MB, free: 5.555 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.001618/0.001618, allocations: 195.5 kB / 16.67 MB, free: 5.496 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7698, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2899/1.06, allocations: 294.3 MB / 1.495 GB, free: 6.309 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03129/1.091, allocations: 23.05 MB / 1.518 GB, free: 15.19 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/1.094, allocations: 75.62 kB / 1.518 GB, free: 15.12 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005154/1.1, allocations: 1.798 MB / 1.519 GB, free: 13.31 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.0155/1.115, allocations: 6.122 MB / 1.525 GB, free: 7.16 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009701/1.125, allocations: 2.892 MB / 1.528 GB, free: 4.273 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.0112/1.136, allocations: 7.304 MB / 1.535 GB, free: 12.94 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005227/1.141, allocations: 2.984 MB / 1.538 GB, free: 9.902 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007949/1.149, allocations: 2.897 MB / 1.541 GB, free: 7.02 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00479/1.154, allocations: 2.718 MB / 1.544 GB, free: 4.301 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0007136/1.155, allocations: 344 kB / 1.544 GB, free: 3.965 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/1.167, allocations: 5.982 MB / 1.55 GB, free: 13.97 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002322/1.169, allocations: 1.465 MB / 1.551 GB, free: 12.5 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003522/1.173, allocations: 1.906 MB / 1.553 GB, free: 10.59 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01567/1.189, allocations: 6.934 MB / 1.56 GB, free: 3.633 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.189, allocations: 0 / 1.56 GB, free: 3.633 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.024e-06/1.189, allocations: 0 / 1.56 GB, free: 3.633 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001881/1.189, allocations: 0 / 1.56 GB, free: 3.633 MB / 1.279 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.7499/1.939, allocations: 4.086 MB / 1.564 GB, free: 350.9 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.939, allocations: 9.188 kB / 1.564 GB, free: 350.9 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/1.946, allocations: 0.8436 MB / 1.565 GB, free: 350.6 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0052/1.951, allocations: 1.858 MB / 1.567 GB, free: 349.7 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/1.952, allocations: 213.8 kB / 1.567 GB, free: 349.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/1.953, allocations: 279 kB / 1.567 GB, free: 349.5 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00767/1.96, allocations: 3.594 MB / 1.571 GB, free: 348 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.707e-05/1.96, allocations: 6.969 kB / 1.571 GB, free: 348 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/1.961, allocations: 114.4 kB / 1.571 GB, free: 348 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/1.961, allocations: 151.2 kB / 1.571 GB, free: 347.9 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006839/1.968, allocations: 3.285 MB / 1.574 GB, free: 346.8 MB / 1.279 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.01746/1.985, allocations: 14.2 MB / 1.588 GB, free: 336.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/1.988, allocations: 2.492 MB / 1.59 GB, free: 334.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/1.99, allocations: 1.355 MB / 1.592 GB, free: 334.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009261/1.991, allocations: 1.38 MB / 1.593 GB, free: 332.7 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/1.993, allocations: 1.23 MB / 1.594 GB, free: 332 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 5.5e-06/1.993, allocations: 0 / 1.594 GB, free: 332 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.005252/1.998, allocations: 3.168 MB / 1.597 GB, free: 330.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.998, allocations: 73.41 kB / 1.597 GB, free: 330.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/2, allocations: 1.456 MB / 1.599 GB, free: 328.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/2, allocations: 65.7 kB / 1.599 GB, free: 328.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006738/2.001, allocations: 1.118 MB / 1.6 GB, free: 327.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/2.001, allocations: 0.7269 MB / 1.601 GB, free: 326.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/2.002, allocations: 363.4 kB / 1.601 GB, free: 326.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/2.002, allocations: 301.1 kB / 1.601 GB, free: 326.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/2.003, allocations: 0.9171 MB / 1.602 GB, free: 325.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/2.004, allocations: 1.254 MB / 1.603 GB, free: 323.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/2.007, allocations: 2.318 MB / 1.606 GB, free: 321.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/2.007, allocations: 4 kB / 1.606 GB, free: 321.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003903/2.011, allocations: 2.604 MB / 1.608 GB, free: 318.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/2.011, allocations: 37.64 kB / 1.608 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/2.011, allocations: 8 kB / 1.608 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/2.011, allocations: 16 kB / 1.608 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/2.013, allocations: 466.7 kB / 1.609 GB, free: 318.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/2.013, allocations: 19.94 kB / 1.609 GB, free: 318.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/2.015, allocations: 194 kB / 1.609 GB, free: 318.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/2.015, allocations: 72 kB / 1.609 GB, free: 318 MB / 1.279 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.001166/2.016, allocations: 0.6882 MB / 1.61 GB, free: 317.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/2.017, allocations: 221.3 kB / 1.61 GB, free: 317.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/2.02, allocations: 2.521 MB / 1.612 GB, free: 314.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/2.02, allocations: 20 kB / 1.612 GB, free: 314.6 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/2.02, allocations: 0 / 1.612 GB, free: 314.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002723/2.023, allocations: 2.331 MB / 1.615 GB, free: 312.2 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/2.031, allocations: 5.606 MB / 1.62 GB, free: 306.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/2.031, allocations: 0 / 1.62 GB, free: 306.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/2.033, allocations: 482.9 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/2.033, allocations: 8 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/2.033, allocations: 51.98 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/2.033, allocations: 15.72 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.033, allocations: 7.984 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/2.038, allocations: 3.794 MB / 1.624 GB, free: 302.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/2.04, allocations: 0.5332 MB / 1.625 GB, free: 301.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/2.04, allocations: 57.17 kB / 1.625 GB, free: 301.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/2.042, allocations: 59.91 kB / 1.625 GB, free: 301.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/2.042, allocations: 145.7 kB / 1.625 GB, free: 301.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/2.042, allocations: 71.97 kB / 1.625 GB, free: 301.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001142/2.043, allocations: 0.9944 MB / 1.626 GB, free: 300.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/2.043, allocations: 0 / 1.626 GB, free: 300.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002127/2.045, allocations: 0.9422 MB / 1.627 GB, free: 299.3 MB / 1.279 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.0007787/2.046, allocations: 375.4 kB / 1.628 GB, free: 299 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003259/2.049, allocations: 2.346 MB / 1.63 GB, free: 296.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/2.049, allocations: 4 kB / 1.63 GB, free: 296.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/2.051, allocations: 1.224 MB / 1.631 GB, free: 295.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/2.056, allocations: 1.292 MB / 1.632 GB, free: 294.3 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007922/2.064, allocations: 5.78 MB / 1.638 GB, free: 288.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/2.065, allocations: 1.968 MB / 1.64 GB, free: 286.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002684/2.068, allocations: 0.7288 MB / 1.641 GB, free: 285.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/2.069, allocations: 191.4 kB / 1.641 GB, free: 285.6 MB / 1.279 GB Notification: Performance of SimCode: time 6.71e-07/2.069, allocations: 0 / 1.641 GB, free: 285.6 MB / 1.279 GB Notification: Performance of Templates: time 0.06738/2.136, allocations: 48.51 MB / 1.688 GB, free: 237.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches