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.001456/0.001456, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002029/0.002029, allocations: 198 kB / 16.25 MB, free: 6.625 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.621/1.621, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.368/2.368, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7525, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3055/1.058, allocations: 290.9 MB / 1.233 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7368/1.795, allocations: 22.9 MB / 1.255 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/1.799, allocations: 68.56 kB / 1.256 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005519/1.804, allocations: 1.608 MB / 1.257 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01773/1.822, allocations: 5.765 MB / 1.263 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01166/1.834, allocations: 2.665 MB / 1.265 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01973/1.854, allocations: 7.298 MB / 1.272 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00729/1.861, allocations: 2.876 MB / 1.275 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/1.871, allocations: 2.918 MB / 1.278 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006926/1.878, allocations: 2.873 MB / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008982/1.879, allocations: 345.3 kB / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/1.894, allocations: 6.219 MB / 1.287 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003274/1.897, allocations: 1.47 MB / 1.289 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005889/1.903, allocations: 1.91 MB / 1.291 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01838/1.921, allocations: 7.288 MB / 1.298 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.922, allocations: 1.062 kB / 1.298 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.922, allocations: 0 / 1.298 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001307/1.922, allocations: 0 / 1.298 GB, free: 0.8008 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.01274/1.934, allocations: 4.096 MB / 1.302 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.935, allocations: 10.78 kB / 1.302 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/1.94, allocations: 0.8404 MB / 1.303 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/1.944, allocations: 1.794 MB / 1.304 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/1.945, allocations: 212 kB / 1.305 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/1.945, allocations: 278.6 kB / 1.305 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006537/1.952, allocations: 3.595 MB / 1.308 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.179e-05/1.952, allocations: 10.62 kB / 1.308 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/1.952, allocations: 120.2 kB / 1.308 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/1.952, allocations: 147 kB / 1.309 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005405/1.958, allocations: 3.292 MB / 1.312 GB, free: 14.02 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.01741/1.975, allocations: 14.13 MB / 1.326 GB, free: 5.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/1.978, allocations: 2.486 MB / 1.328 GB, free: 5.336 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/1.98, allocations: 1.358 MB / 1.329 GB, free: 5.309 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.982, allocations: 1.372 MB / 1.331 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002/1.984, allocations: 1.223 MB / 1.332 GB, free: 3.727 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 4.018e-06/1.984, allocations: 0 / 1.332 GB, free: 3.727 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.005626/1.989, allocations: 3.172 MB / 1.335 GB, free: 3.531 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/1.989, allocations: 77.91 kB / 1.335 GB, free: 3.461 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.991, allocations: 1.456 MB / 1.336 GB, free: 3.289 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/1.992, allocations: 67.84 kB / 1.337 GB, free: 3.258 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000982/1.993, allocations: 1.119 MB / 1.338 GB, free: 2.793 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008575/1.993, allocations: 0.7325 MB / 1.338 GB, free: 2.316 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/1.994, allocations: 358.8 kB / 1.339 GB, free: 2.289 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.994, allocations: 301.1 kB / 1.339 GB, free: 1.992 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/1.995, allocations: 0.913 MB / 1.34 GB, free: 1.984 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.997, allocations: 1.254 MB / 1.341 GB, free: 1.664 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/2, allocations: 2.325 MB / 1.343 GB, free: 1.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/2, allocations: 3.125 kB / 1.343 GB, free: 1.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004237/2.005, allocations: 2.599 MB / 1.346 GB, free: 1.102 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/2.005, allocations: 37.22 kB / 1.346 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/2.005, allocations: 10.22 kB / 1.346 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/2.005, allocations: 18.62 kB / 1.346 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/2.007, allocations: 469.3 kB / 1.346 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/2.007, allocations: 27.19 kB / 1.346 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/2.01, allocations: 393.5 kB / 1.347 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/2.01, allocations: 84.95 kB / 1.347 GB, free: 0.9336 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.001525/2.011, allocations: 0.6827 MB / 1.348 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006306/2.012, allocations: 212.4 kB / 1.348 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/2.016, allocations: 2.53 MB / 1.35 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/2.016, allocations: 24.66 kB / 1.35 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/2.016, allocations: 0 / 1.35 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00348/2.02, allocations: 2.328 MB / 1.353 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/2.031, allocations: 5.609 MB / 1.358 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/2.031, allocations: 2.875 kB / 1.358 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/2.034, allocations: 476 kB / 1.358 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.001e-05/2.034, allocations: 11.22 kB / 1.358 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/2.034, allocations: 58.48 kB / 1.359 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/2.034, allocations: 9.594 kB / 1.359 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/2.034, allocations: 2.594 kB / 1.359 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/2.04, allocations: 3.807 MB / 1.362 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/2.042, allocations: 0.5394 MB / 1.363 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004479/2.043, allocations: 41.81 kB / 1.363 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/2.046, allocations: 247.7 kB / 1.363 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/2.046, allocations: 149.5 kB / 1.363 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/2.046, allocations: 70.09 kB / 1.363 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001586/2.048, allocations: 0.99 MB / 1.364 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/2.048, allocations: 0 / 1.364 GB, free: 11.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003395/2.051, allocations: 0.9362 MB / 1.365 GB, free: 10.68 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.001003/2.052, allocations: 382.3 kB / 1.366 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009082/2.062, allocations: 3.875 MB / 1.369 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/2.062, allocations: 12.25 kB / 1.369 GB, free: 6.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/2.064, allocations: 1.22 MB / 1.371 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006134/2.07, allocations: 1.288 MB / 1.372 GB, free: 4.242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009862/2.08, allocations: 7.021 MB / 1.379 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/2.081, allocations: 1.971 MB / 1.381 GB, free: 11.19 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003126/2.084, allocations: 0.7251 MB / 1.381 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006624/2.085, allocations: 191.4 kB / 1.381 GB, free: 10.27 MB / 1.045 GB Notification: Performance of SimCode: time 2.074e-06/2.085, allocations: 0 / 1.381 GB, free: 10.27 MB / 1.045 GB Notification: Performance of Templates: time 0.08354/2.169, allocations: 46.98 MB / 1.427 GB, free: 12.07 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