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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00163/0.00163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.565/1.565, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.752/2.752, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227/1.229, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3707/1.6, allocations: 294.2 MB / 1.237 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.113/2.713, allocations: 23.04 MB / 1.259 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007152/2.72, allocations: 77.94 kB / 1.259 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008649/2.729, allocations: 1.801 MB / 1.261 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03068/2.76, allocations: 6.124 MB / 1.267 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01703/2.777, allocations: 2.874 MB / 1.27 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01887/2.796, allocations: 7.297 MB / 1.277 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007423/2.803, allocations: 2.985 MB / 1.28 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/2.816, allocations: 2.861 MB / 1.283 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009097/2.825, allocations: 2.715 MB / 1.286 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002676/2.828, allocations: 342.5 kB / 1.286 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0251/2.853, allocations: 5.98 MB / 1.292 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004796/2.858, allocations: 1.466 MB / 1.293 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008688/2.866, allocations: 1.904 MB / 1.295 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02783/2.894, allocations: 6.878 MB / 1.302 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/2.894, allocations: 2.781 kB / 1.302 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.426e-06/2.894, allocations: 0.9062 kB / 1.302 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000274/2.895, allocations: 0 / 1.302 GB, free: 0.8398 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.02941/2.924, allocations: 4.101 MB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001212/2.924, allocations: 11 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/2.938, allocations: 0.8426 MB / 1.307 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009804/2.948, allocations: 1.789 MB / 1.308 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/2.949, allocations: 208.3 kB / 1.308 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002183/2.951, allocations: 277 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/2.97, allocations: 3.599 MB / 1.312 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/2.97, allocations: 10.86 kB / 1.312 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/2.971, allocations: 111 kB / 1.312 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003634/2.972, allocations: 156.1 kB / 1.313 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/2.986, allocations: 3.285 MB / 1.316 GB, free: 14.05 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.0455/3.032, allocations: 14.29 MB / 1.33 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00911/3.041, allocations: 2.481 MB / 1.332 GB, free: 5.328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/3.046, allocations: 1.355 MB / 1.333 GB, free: 5.305 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002424/3.048, allocations: 1.383 MB / 1.335 GB, free: 3.793 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004714/3.053, allocations: 1.224 MB / 1.336 GB, free: 3.715 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 2.9e-05/3.053, allocations: 0 / 1.336 GB, free: 3.715 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01671/3.07, allocations: 3.161 MB / 1.339 GB, free: 3.523 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/3.07, allocations: 85.97 kB / 1.339 GB, free: 3.449 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007554/3.078, allocations: 1.455 MB / 1.341 GB, free: 3.277 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001258/3.079, allocations: 66.83 kB / 1.341 GB, free: 3.246 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002638/3.082, allocations: 1.118 MB / 1.342 GB, free: 2.781 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002475/3.084, allocations: 0.7332 MB / 1.342 GB, free: 2.309 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002869/3.087, allocations: 357.4 kB / 1.343 GB, free: 2.281 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002675/3.088, allocations: 303.6 kB / 1.343 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/3.091, allocations: 0.9173 MB / 1.344 GB, free: 1.973 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/3.095, allocations: 1.252 MB / 1.345 GB, free: 1.656 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/3.102, allocations: 2.328 MB / 1.347 GB, free: 1.309 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/3.102, allocations: 1.688 kB / 1.347 GB, free: 1.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008133/3.11, allocations: 2.6 MB / 1.35 GB, free: 1.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/3.11, allocations: 39.39 kB / 1.35 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/3.11, allocations: 5.25 kB / 1.35 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.339e-05/3.11, allocations: 22.44 kB / 1.35 GB, free: 1.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/3.114, allocations: 473.1 kB / 1.351 GB, free: 1.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.434e-05/3.114, allocations: 20.45 kB / 1.351 GB, free: 1.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/3.118, allocations: 187.2 kB / 1.351 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003427/3.118, allocations: 75.89 kB / 1.351 GB, free: 0.9492 MB / 1.014 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.002586/3.121, allocations: 0.6873 MB / 1.351 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/3.122, allocations: 212.8 kB / 1.352 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00763/3.13, allocations: 2.522 MB / 1.354 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/3.13, allocations: 23.69 kB / 1.354 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/3.13, allocations: 0 / 1.354 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00545/3.135, allocations: 2.328 MB / 1.356 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/3.154, allocations: 5.61 MB / 1.362 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/3.154, allocations: 2.969 kB / 1.362 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/3.157, allocations: 481.4 kB / 1.362 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.993e-05/3.157, allocations: 10.56 kB / 1.362 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/3.158, allocations: 55.09 kB / 1.362 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-05/3.158, allocations: 10.25 kB / 1.362 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/3.158, allocations: 2.969 kB / 1.362 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009581/3.167, allocations: 3.805 MB / 1.366 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/3.17, allocations: 0.5401 MB / 1.367 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009525/3.171, allocations: 47.98 kB / 1.367 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/3.174, allocations: 60.72 kB / 1.367 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005947/3.175, allocations: 149.7 kB / 1.367 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/3.175, allocations: 71.97 kB / 1.367 GB, free: 9.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003472/3.178, allocations: 0.9866 MB / 1.368 GB, free: 8.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.81e-07/3.178, allocations: 0 / 1.368 GB, free: 8.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.007724/3.186, allocations: 0.9389 MB / 1.369 GB, free: 7.43 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.00214/3.188, allocations: 386.6 kB / 1.369 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0153/3.204, allocations: 3.878 MB / 1.373 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/3.204, allocations: 3.188 kB / 1.373 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/3.207, allocations: 1.22 MB / 1.374 GB, free: 2.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01346/3.221, allocations: 1.297 MB / 1.375 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/3.239, allocations: 5.838 MB / 1.381 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/3.243, allocations: 1.964 MB / 1.383 GB, free: 8.945 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004482/3.247, allocations: 0.7327 MB / 1.384 GB, free: 8.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/3.248, allocations: 199.4 kB / 1.384 GB, free: 8.016 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/3.248, allocations: 3.188 kB / 1.384 GB, free: 8.016 MB / 1.045 GB Notification: Performance of Templates: time 0.08729/3.336, allocations: 47.35 MB / 1.43 GB, free: 9.453 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches