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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007675/0.007675, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001176/0.001176, allocations: 196.1 kB / 16.79 MB, free: 5.809 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.486/1.486, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.624/2.624, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.057, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3678/1.425, allocations: 292.1 MB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9316/2.357, allocations: 23.24 MB / 1.258 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005952/2.363, allocations: 67.47 kB / 1.258 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006959/2.37, allocations: 1.56 MB / 1.259 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02102/2.391, allocations: 5.776 MB / 1.265 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/2.402, allocations: 2.626 MB / 1.267 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02282/2.425, allocations: 10.73 MB / 1.278 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007116/2.432, allocations: 2.525 MB / 1.28 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/2.444, allocations: 2.532 MB / 1.283 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008413/2.453, allocations: 2.823 MB / 1.285 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002214/2.455, allocations: 207.2 kB / 1.286 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01975/2.475, allocations: 6.902 MB / 1.292 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003847/2.478, allocations: 1.336 MB / 1.294 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007638/2.486, allocations: 1.754 MB / 1.295 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/2.499, allocations: 5.129 MB / 1.3 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/2.499, allocations: 0 / 1.3 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.215e-06/2.499, allocations: 0 / 1.3 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002581/2.499, allocations: 0 / 1.3 GB, free: 1.176 MB / 0.9981 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.01599/2.515, allocations: 4.102 MB / 1.304 GB, free: 15.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/2.515, allocations: 8.031 kB / 1.304 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006825/2.522, allocations: 0.8454 MB / 1.305 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/2.528, allocations: 1.785 MB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/2.528, allocations: 210.7 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/2.53, allocations: 272.9 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/2.541, allocations: 3.596 MB / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/2.541, allocations: 9.375 kB / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/2.542, allocations: 120 kB / 1.311 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000283/2.542, allocations: 147 kB / 1.311 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/2.553, allocations: 3.285 MB / 1.314 GB, free: 14.36 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.02874/2.582, allocations: 14.14 MB / 1.328 GB, free: 6.047 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/2.587, allocations: 2.491 MB / 1.331 GB, free: 5.602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/2.59, allocations: 1.355 MB / 1.332 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/2.592, allocations: 1.376 MB / 1.333 GB, free: 4.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003004/2.595, allocations: 1.221 MB / 1.335 GB, free: 3.996 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 5.29e-06/2.595, allocations: 0 / 1.335 GB, free: 3.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.0107/2.606, allocations: 3.171 MB / 1.338 GB, free: 3.801 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/2.606, allocations: 78.12 kB / 1.338 GB, free: 3.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/2.609, allocations: 1.458 MB / 1.339 GB, free: 3.328 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0007609/2.61, allocations: 66.08 kB / 1.339 GB, free: 3.297 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/2.612, allocations: 1.115 MB / 1.34 GB, free: 2.711 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/2.613, allocations: 0.7347 MB / 1.341 GB, free: 2.172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008262/2.614, allocations: 357.2 kB / 1.341 GB, free: 2.113 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001786/2.614, allocations: 311.4 kB / 1.342 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/2.617, allocations: 0.9073 MB / 1.343 GB, free: 1.676 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/2.619, allocations: 1.263 MB / 1.344 GB, free: 1.195 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/2.623, allocations: 2.327 MB / 1.346 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/2.623, allocations: 3.719 kB / 1.346 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005353/2.628, allocations: 2.602 MB / 1.349 GB, free: 200 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/2.628, allocations: 37.45 kB / 1.349 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/2.628, allocations: 9.156 kB / 1.349 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/2.628, allocations: 15.94 kB / 1.349 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/2.63, allocations: 469.3 kB / 1.349 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.886e-05/2.63, allocations: 20.09 kB / 1.349 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/2.634, allocations: 397.9 kB / 1.35 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/2.635, allocations: 77.64 kB / 1.35 GB, free: 15.9 MB / 1.029 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.001946/2.637, allocations: 0.6875 MB / 1.35 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009108/2.637, allocations: 214.9 kB / 1.35 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/2.642, allocations: 2.523 MB / 1.353 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/2.643, allocations: 23.38 kB / 1.353 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/2.643, allocations: 0 / 1.353 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003844/2.646, allocations: 2.324 MB / 1.355 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/2.659, allocations: 5.607 MB / 1.361 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/2.659, allocations: 1.688 kB / 1.361 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/2.661, allocations: 480.2 kB / 1.361 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/2.661, allocations: 8.281 kB / 1.361 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/2.662, allocations: 53.98 kB / 1.361 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.88e-05/2.662, allocations: 13.09 kB / 1.361 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.662, allocations: 2.594 kB / 1.361 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006895/2.669, allocations: 3.801 MB / 1.365 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/2.671, allocations: 0.5396 MB / 1.365 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005324/2.671, allocations: 41.06 kB / 1.366 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002552/2.674, allocations: 249 kB / 1.366 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/2.674, allocations: 151.5 kB / 1.366 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/2.674, allocations: 72.78 kB / 1.366 GB, free: 9.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001631/2.676, allocations: 0.9868 MB / 1.367 GB, free: 8.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/2.676, allocations: 0 / 1.367 GB, free: 8.746 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003683/2.68, allocations: 0.9393 MB / 1.368 GB, free: 7.875 MB / 1.029 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.001057/2.681, allocations: 386.8 kB / 1.368 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004557/2.685, allocations: 2.333 MB / 1.37 GB, free: 5.766 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/2.685, allocations: 0 / 1.37 GB, free: 5.766 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/2.687, allocations: 1.221 MB / 1.372 GB, free: 4.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007158/2.695, allocations: 1.223 MB / 1.373 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/2.708, allocations: 7.206 MB / 1.38 GB, free: 12.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/2.71, allocations: 1.975 MB / 1.382 GB, free: 10.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/2.711, allocations: 221.9 kB / 1.382 GB, free: 9.91 MB / 1.045 GB Notification: Performance of SimCode: time 1.363e-06/2.711, allocations: 0 / 1.382 GB, free: 9.91 MB / 1.045 GB Notification: Performance of Templates: time 0.08506/2.796, allocations: 41.62 MB / 1.423 GB, free: 0.6055 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches