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.007742/0.00775, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.001878/0.001878, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.751/2.751, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001672, allocations: 75.88 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3633, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.177/1.54, allocations: 294.3 MB / 1.454 GB, free: 14.03 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03267/1.573, allocations: 23.04 MB / 1.477 GB, free: 6.93 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004855/1.578, allocations: 79.62 kB / 1.477 GB, free: 6.852 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005956/1.584, allocations: 1.865 MB / 1.478 GB, free: 4.977 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01671/1.601, allocations: 6.321 MB / 1.485 GB, free: 14.63 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.008477/1.609, allocations: 2.923 MB / 1.487 GB, free: 11.71 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01032/1.62, allocations: 7.312 MB / 1.495 GB, free: 4.371 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005355/1.625, allocations: 2.976 MB / 1.497 GB, free: 1.348 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/1.635, allocations: 2.95 MB / 1.5 GB, free: 14.42 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006251/1.641, allocations: 2.711 MB / 1.503 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001543/1.643, allocations: 340 kB / 1.503 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/1.657, allocations: 6.013 MB / 1.509 GB, free: 5.348 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002641/1.659, allocations: 1.461 MB / 1.511 GB, free: 3.883 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005056/1.664, allocations: 1.906 MB / 1.512 GB, free: 1.969 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.681, allocations: 6.955 MB / 1.519 GB, free: 10.99 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.681, allocations: 0 / 1.519 GB, free: 10.99 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.535e-06/1.681, allocations: 0 / 1.519 GB, free: 10.99 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002335/1.681, allocations: 0 / 1.519 GB, free: 10.99 MB / 1.186 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.01387/1.695, allocations: 4.199 MB / 1.523 GB, free: 6.715 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.695, allocations: 12.02 kB / 1.523 GB, free: 6.703 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/1.702, allocations: 0.8565 MB / 1.524 GB, free: 5.844 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005181/1.707, allocations: 1.874 MB / 1.526 GB, free: 3.914 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/1.707, allocations: 209.4 kB / 1.526 GB, free: 3.707 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/1.708, allocations: 279.9 kB / 1.527 GB, free: 3.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009505/1.718, allocations: 3.603 MB / 1.53 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/1.718, allocations: 0 / 1.53 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007567/1.719, allocations: 116 kB / 1.53 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/1.719, allocations: 149.2 kB / 1.53 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007683/1.727, allocations: 3.292 MB / 1.534 GB, free: 12.14 MB / 1.201 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.02134/1.748, allocations: 14.23 MB / 1.547 GB, free: 12.69 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004462/1.753, allocations: 2.493 MB / 1.55 GB, free: 10.12 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/1.755, allocations: 1.356 MB / 1.551 GB, free: 8.766 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.756, allocations: 1.371 MB / 1.553 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002468/1.759, allocations: 1.23 MB / 1.554 GB, free: 5.859 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 6.252e-06/1.759, allocations: 0 / 1.554 GB, free: 5.859 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.006729/1.766, allocations: 3.181 MB / 1.557 GB, free: 2.676 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/1.766, allocations: 77.39 kB / 1.557 GB, free: 2.59 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/1.768, allocations: 1.46 MB / 1.558 GB, free: 1.125 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002555/1.769, allocations: 61.7 kB / 1.558 GB, free: 1.059 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.77, allocations: 1.141 MB / 1.559 GB, free: 15.9 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009091/1.771, allocations: 0.7707 MB / 1.56 GB, free: 15.12 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/1.772, allocations: 359.6 kB / 1.561 GB, free: 14.77 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.772, allocations: 301.1 kB / 1.561 GB, free: 14.47 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/1.773, allocations: 0.9175 MB / 1.562 GB, free: 13.55 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/1.775, allocations: 1.251 MB / 1.563 GB, free: 12.18 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/1.779, allocations: 2.321 MB / 1.565 GB, free: 9.746 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.779, allocations: 4 kB / 1.565 GB, free: 9.742 MB / 1.232 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004896/1.784, allocations: 2.607 MB / 1.568 GB, free: 7.121 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/1.784, allocations: 37.89 kB / 1.568 GB, free: 7.078 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.784, allocations: 8 kB / 1.568 GB, free: 7.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-05/1.784, allocations: 16 kB / 1.568 GB, free: 7.055 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/1.786, allocations: 467.3 kB / 1.568 GB, free: 6.598 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.363e-05/1.786, allocations: 23.94 kB / 1.568 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.789, allocations: 206.4 kB / 1.569 GB, free: 6.371 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.789, allocations: 75.98 kB / 1.569 GB, free: 6.297 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.001488/1.79, allocations: 0.6862 MB / 1.569 GB, free: 5.602 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008645/1.791, allocations: 222.6 kB / 1.569 GB, free: 5.383 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005036/1.796, allocations: 2.534 MB / 1.572 GB, free: 2.836 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/1.796, allocations: 20 kB / 1.572 GB, free: 2.816 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/1.796, allocations: 0 / 1.572 GB, free: 2.816 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003467/1.8, allocations: 2.335 MB / 1.574 GB, free: 424 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.81, allocations: 5.608 MB / 1.58 GB, free: 10.69 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.81, allocations: 0 / 1.58 GB, free: 10.69 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/1.812, allocations: 475.7 kB / 1.58 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-05/1.812, allocations: 8 kB / 1.58 GB, free: 10.22 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.813, allocations: 55.98 kB / 1.58 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.46e-05/1.813, allocations: 11.94 kB / 1.58 GB, free: 10.15 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.813, allocations: 4 kB / 1.58 GB, free: 10.15 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/1.819, allocations: 3.818 MB / 1.584 GB, free: 6.281 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.82, allocations: 0.546 MB / 1.585 GB, free: 5.715 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/1.821, allocations: 44 kB / 1.585 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.823, allocations: 66.64 kB / 1.585 GB, free: 5.609 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/1.823, allocations: 149.7 kB / 1.585 GB, free: 5.465 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/1.823, allocations: 75.97 kB / 1.585 GB, free: 5.391 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00174/1.825, allocations: 0.9906 MB / 1.586 GB, free: 4.406 MB / 1.248 GB Notification: Performance of sort global known variables: time 2e-07/1.825, allocations: 3.938 kB / 1.586 GB, free: 4.402 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002699/1.828, allocations: 0.9434 MB / 1.587 GB, free: 3.457 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.000967/1.829, allocations: 378.5 kB / 1.587 GB, free: 3.086 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004116/1.833, allocations: 2.345 MB / 1.589 GB, free: 0.7266 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.833, allocations: 4 kB / 1.589 GB, free: 0.7227 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.835, allocations: 1.227 MB / 1.591 GB, free: 15.5 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006088/1.841, allocations: 1.286 MB / 1.592 GB, free: 14.23 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.852, allocations: 5.868 MB / 1.598 GB, free: 8.297 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/1.854, allocations: 1.964 MB / 1.6 GB, free: 6.297 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003486/1.858, allocations: 0.7249 MB / 1.6 GB, free: 5.57 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.859, allocations: 191.4 kB / 1.6 GB, free: 5.387 MB / 1.264 GB Notification: Performance of SimCode: time 1.022e-06/1.859, allocations: 0 / 1.6 GB, free: 5.387 MB / 1.264 GB Notification: Performance of Templates: time 0.07942/1.938, allocations: 47.8 MB / 1.647 GB, free: 6.195 MB / 1.311 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