Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001482/0.001482, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001655/0.001655, allocations: 192 kB / 16.25 MB, free: 6.633 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 59.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7359, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.9178/1.654, allocations: 290.8 MB / 1.301 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02898/1.683, allocations: 22.92 MB / 1.323 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004864/1.688, allocations: 69.12 kB / 1.323 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005441/1.693, allocations: 1.608 MB / 1.325 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01639/1.71, allocations: 5.76 MB / 1.33 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008598/1.718, allocations: 2.667 MB / 1.333 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0113/1.73, allocations: 7.294 MB / 1.34 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004963/1.735, allocations: 2.89 MB / 1.343 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/1.745, allocations: 2.912 MB / 1.346 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006949/1.752, allocations: 2.885 MB / 1.349 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/1.753, allocations: 340.7 kB / 1.349 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/1.769, allocations: 6.22 MB / 1.355 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003382/1.772, allocations: 1.475 MB / 1.357 GB, free: 116 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005698/1.778, allocations: 1.901 MB / 1.358 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02071/1.799, allocations: 7.287 MB / 1.365 GB, free: 14.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.799, allocations: 4 kB / 1.365 GB, free: 14.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.685e-06/1.799, allocations: 0 / 1.365 GB, free: 14.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002272/1.799, allocations: 2.406 kB / 1.365 GB, free: 14.89 MB / 1.014 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.01513/1.814, allocations: 4.098 MB / 1.369 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.814, allocations: 11.16 kB / 1.369 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006638/1.821, allocations: 0.8342 MB / 1.37 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/1.826, allocations: 1.795 MB / 1.372 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.826, allocations: 206.2 kB / 1.372 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007337/1.827, allocations: 281.2 kB / 1.373 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/1.834, allocations: 3.595 MB / 1.376 GB, free: 9.426 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.028e-05/1.834, allocations: 5.156 kB / 1.376 GB, free: 9.426 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/1.834, allocations: 116.4 kB / 1.376 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/1.834, allocations: 146.2 kB / 1.376 GB, free: 9.312 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006339/1.841, allocations: 3.292 MB / 1.38 GB, free: 7.695 MB / 1.014 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.01955/1.86, allocations: 14.14 MB / 1.393 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/1.864, allocations: 2.483 MB / 1.396 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/1.866, allocations: 1.362 MB / 1.397 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.868, allocations: 1.371 MB / 1.398 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002123/1.87, allocations: 1.232 MB / 1.4 GB, free: 5.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 4.328e-06/1.87, allocations: 0 / 1.4 GB, free: 5.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.006027/1.876, allocations: 3.163 MB / 1.403 GB, free: 2.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/1.876, allocations: 85.39 kB / 1.403 GB, free: 2.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/1.878, allocations: 1.449 MB / 1.404 GB, free: 1.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/1.878, allocations: 69.7 kB / 1.404 GB, free: 1.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.879, allocations: 1.118 MB / 1.405 GB, free: 52 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008222/1.88, allocations: 0.7291 MB / 1.406 GB, free: 15.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005951/1.881, allocations: 359.4 kB / 1.406 GB, free: 14.96 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.881, allocations: 301.1 kB / 1.407 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/1.883, allocations: 0.9214 MB / 1.408 GB, free: 13.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/1.884, allocations: 1.254 MB / 1.409 GB, free: 12.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/1.888, allocations: 2.323 MB / 1.411 GB, free: 9.969 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.888, allocations: 4.062 kB / 1.411 GB, free: 9.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004781/1.893, allocations: 2.6 MB / 1.414 GB, free: 7.391 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/1.893, allocations: 37.89 kB / 1.414 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/1.893, allocations: 8 kB / 1.414 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/1.893, allocations: 16 kB / 1.414 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/1.895, allocations: 469.5 kB / 1.414 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/1.895, allocations: 19 kB / 1.414 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/1.898, allocations: 401.7 kB / 1.415 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.898, allocations: 79.98 kB / 1.415 GB, free: 6.406 MB / 1.045 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.001621/1.9, allocations: 0.6831 MB / 1.415 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007561/1.9, allocations: 217.5 kB / 1.415 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/1.905, allocations: 2.518 MB / 1.418 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.905, allocations: 23.98 kB / 1.418 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/1.905, allocations: 3.938 kB / 1.418 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003635/1.909, allocations: 2.335 MB / 1.42 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/1.921, allocations: 5.611 MB / 1.426 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.921, allocations: 4 kB / 1.426 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.923, allocations: 479.1 kB / 1.426 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.949e-05/1.924, allocations: 12 kB / 1.426 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/1.924, allocations: 51.98 kB / 1.426 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/1.924, allocations: 18.56 kB / 1.426 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.924, allocations: 4 kB / 1.426 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006701/1.931, allocations: 3.793 MB / 1.43 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.932, allocations: 0.5448 MB / 1.431 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006994/1.933, allocations: 40 kB / 1.431 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.936, allocations: 247.4 kB / 1.431 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/1.936, allocations: 148.5 kB / 1.431 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/1.936, allocations: 71.97 kB / 1.431 GB, free: 5.492 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001755/1.938, allocations: 0.9905 MB / 1.432 GB, free: 4.508 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.938, allocations: 0 / 1.432 GB, free: 4.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002786/1.941, allocations: 0.9312 MB / 1.433 GB, free: 3.574 MB / 1.061 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.0009791/1.942, allocations: 385 kB / 1.433 GB, free: 3.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008749/1.951, allocations: 3.882 MB / 1.437 GB, free: 15.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.951, allocations: 4 kB / 1.437 GB, free: 15.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/1.953, allocations: 1.229 MB / 1.438 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006978/1.96, allocations: 1.28 MB / 1.439 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.972, allocations: 7.008 MB / 1.446 GB, free: 5.914 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/1.974, allocations: 1.964 MB / 1.448 GB, free: 3.914 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003966/1.978, allocations: 0.7329 MB / 1.449 GB, free: 3.176 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.979, allocations: 195.4 kB / 1.449 GB, free: 2.984 MB / 1.076 GB Notification: Performance of SimCode: time 1.462e-06/1.979, allocations: 3.938 kB / 1.449 GB, free: 2.98 MB / 1.076 GB Notification: Performance of Templates: time 0.08247/2.062, allocations: 46.99 MB / 1.495 GB, free: 4.742 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches