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.001061/0.001061, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01015/0.01015, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.408/2.408, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004214, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8657, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3015/1.167, allocations: 288.1 MB / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7714/1.939, allocations: 22.98 MB / 1.259 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004681/1.943, allocations: 64.25 kB / 1.259 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005631/1.949, allocations: 1.554 MB / 1.26 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01789/1.967, allocations: 5.769 MB / 1.266 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008587/1.976, allocations: 2.639 MB / 1.269 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01682/1.992, allocations: 10.72 MB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005207/1.998, allocations: 2.435 MB / 1.281 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009115/2.007, allocations: 2.437 MB / 1.284 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006397/2.013, allocations: 2.703 MB / 1.286 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00131/2.015, allocations: 164.7 kB / 1.287 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01635/2.031, allocations: 6.87 MB / 1.293 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003137/2.034, allocations: 1.276 MB / 1.295 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005149/2.039, allocations: 1.711 MB / 1.296 GB, free: 18.13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01566/2.055, allocations: 7.076 MB / 1.303 GB, free: 17.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/2.055, allocations: 0 / 1.303 GB, free: 17.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.605e-06/2.055, allocations: 0 / 1.303 GB, free: 17.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001209/2.055, allocations: 0 / 1.303 GB, free: 17.76 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.009394/2.065, allocations: 3.482 MB / 1.307 GB, free: 16.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/2.065, allocations: 12.22 kB / 1.307 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005845/2.071, allocations: 0.8479 MB / 1.307 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003485/2.074, allocations: 1.792 MB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/2.074, allocations: 206.2 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/2.075, allocations: 277.2 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006094/2.081, allocations: 3.604 MB / 1.313 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-05/2.081, allocations: 9.344 kB / 1.313 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/2.081, allocations: 115.4 kB / 1.313 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/2.081, allocations: 146.8 kB / 1.313 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005782/2.087, allocations: 3.295 MB / 1.317 GB, free: 15.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.01798/2.105, allocations: 14.17 MB / 1.33 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/2.109, allocations: 2.499 MB / 1.333 GB, free: 5.586 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/2.111, allocations: 1.354 MB / 1.334 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/2.112, allocations: 1.387 MB / 1.336 GB, free: 3.863 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/2.114, allocations: 1.224 MB / 1.337 GB, free: 3.531 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 5.871e-06/2.114, allocations: 0 / 1.337 GB, free: 3.531 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.005843/2.12, allocations: 3.186 MB / 1.34 GB, free: 2.992 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/2.12, allocations: 78.28 kB / 1.34 GB, free: 2.926 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/2.122, allocations: 1.462 MB / 1.341 GB, free: 2.516 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/2.122, allocations: 68.14 kB / 1.341 GB, free: 2.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009949/2.123, allocations: 1.108 MB / 1.343 GB, free: 1.902 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008196/2.124, allocations: 0.7398 MB / 1.343 GB, free: 1.363 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/2.125, allocations: 173.4 kB / 1.343 GB, free: 1.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001084/2.125, allocations: 301.1 kB / 1.344 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/2.126, allocations: 0.9124 MB / 1.345 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/2.128, allocations: 1.262 MB / 1.346 GB, free: 412 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/2.131, allocations: 2.336 MB / 1.348 GB, free: 15.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/2.131, allocations: 3.094 kB / 1.348 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004737/2.136, allocations: 2.613 MB / 1.351 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/2.136, allocations: 33.55 kB / 1.351 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/2.136, allocations: 7.844 kB / 1.351 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/2.136, allocations: 19.03 kB / 1.351 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/2.138, allocations: 483.8 kB / 1.351 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.697e-05/2.138, allocations: 17.75 kB / 1.351 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/2.141, allocations: 399.7 kB / 1.352 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/2.141, allocations: 82.14 kB / 1.352 GB, free: 15.11 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.00148/2.143, allocations: 0.682 MB / 1.352 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/2.143, allocations: 221.2 kB / 1.353 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/2.148, allocations: 2.539 MB / 1.355 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/2.148, allocations: 26.16 kB / 1.355 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/2.148, allocations: 0 / 1.355 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003249/2.151, allocations: 2.34 MB / 1.357 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/2.161, allocations: 5.612 MB / 1.363 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/2.161, allocations: 3.938 kB / 1.363 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/2.163, allocations: 486.8 kB / 1.363 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/2.163, allocations: 10.03 kB / 1.363 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/2.164, allocations: 57.66 kB / 1.363 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/2.164, allocations: 14.56 kB / 1.363 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.164, allocations: 2.734 kB / 1.363 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/2.169, allocations: 3.824 MB / 1.367 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/2.171, allocations: 0.5349 MB / 1.368 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/2.171, allocations: 52.86 kB / 1.368 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/2.173, allocations: 241 kB / 1.368 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/2.173, allocations: 150.3 kB / 1.368 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/2.173, allocations: 72.81 kB / 1.368 GB, free: 10.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001284/2.175, allocations: 0.9881 MB / 1.369 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/2.175, allocations: 0 / 1.369 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002272/2.177, allocations: 0.9421 MB / 1.37 GB, free: 10.27 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.0007969/2.178, allocations: 383.4 kB / 1.37 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003679/2.181, allocations: 2.342 MB / 1.373 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/2.181, allocations: 0 / 1.373 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/2.183, allocations: 1.231 MB / 1.374 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006712/2.19, allocations: 1.239 MB / 1.375 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/2.2, allocations: 7.275 MB / 1.382 GB, free: 15.92 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/2.202, allocations: 1.971 MB / 1.384 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003211/2.205, allocations: 0.7212 MB / 1.385 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/2.206, allocations: 193.9 kB / 1.385 GB, free: 13.11 MB / 1.045 GB Notification: Performance of SimCode: time 1.082e-06/2.206, allocations: 3.938 kB / 1.385 GB, free: 13.11 MB / 1.045 GB Notification: Performance of Templates: time 0.07759/2.283, allocations: 45.09 MB / 1.429 GB, free: 0.7539 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/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