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.002005/0.002005, allocations: 108 kB / 15.61 MB, free: 148 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.002232/0.002232, allocations: 194.2 kB / 16.53 MB, free: 6.691 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.501/1.501, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.655/2.655, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6952, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.037/1.732, allocations: 294.3 MB / 1.305 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02827/1.761, allocations: 23.04 MB / 1.327 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005609/1.766, allocations: 77.88 kB / 1.327 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006363/1.773, allocations: 1.797 MB / 1.329 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0209/1.794, allocations: 6.118 MB / 1.335 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01122/1.805, allocations: 2.891 MB / 1.338 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01105/1.816, allocations: 7.293 MB / 1.345 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006063/1.822, allocations: 2.978 MB / 1.348 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008784/1.831, allocations: 2.856 MB / 1.351 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006784/1.838, allocations: 2.714 MB / 1.353 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002066/1.84, allocations: 341.4 kB / 1.354 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/1.856, allocations: 5.987 MB / 1.359 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003293/1.859, allocations: 1.469 MB / 1.361 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006131/1.865, allocations: 1.902 MB / 1.363 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01932/1.884, allocations: 6.88 MB / 1.369 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/1.884, allocations: 2.906 kB / 1.369 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.095e-06/1.884, allocations: 2.531 kB / 1.369 GB, free: 13.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001977/1.885, allocations: 0 / 1.369 GB, free: 13.92 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.01292/1.898, allocations: 4.088 MB / 1.373 GB, free: 11.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.898, allocations: 10.91 kB / 1.373 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005737/1.903, allocations: 0.8408 MB / 1.374 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/1.907, allocations: 1.786 MB / 1.376 GB, free: 9.973 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/1.908, allocations: 211.5 kB / 1.376 GB, free: 9.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004744/1.908, allocations: 278.5 kB / 1.376 GB, free: 9.785 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006796/1.915, allocations: 3.595 MB / 1.38 GB, free: 7.633 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.064e-05/1.915, allocations: 9.5 kB / 1.38 GB, free: 7.629 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/1.915, allocations: 113.7 kB / 1.38 GB, free: 7.547 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/1.915, allocations: 149.9 kB / 1.38 GB, free: 7.516 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006138/1.922, allocations: 3.292 MB / 1.383 GB, free: 5.898 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.02147/1.943, allocations: 14.3 MB / 1.397 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/1.947, allocations: 2.476 MB / 1.4 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/1.95, allocations: 1.367 MB / 1.401 GB, free: 6.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/1.951, allocations: 1.377 MB / 1.403 GB, free: 4.656 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002208/1.953, allocations: 1.222 MB / 1.404 GB, free: 3.426 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 6.632e-06/1.953, allocations: 4 kB / 1.404 GB, free: 3.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.00648/1.96, allocations: 3.171 MB / 1.407 GB, free: 256 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/1.96, allocations: 77.41 kB / 1.407 GB, free: 164 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/1.962, allocations: 1.454 MB / 1.408 GB, free: 14.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/1.963, allocations: 65.7 kB / 1.408 GB, free: 14.64 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/1.964, allocations: 1.118 MB / 1.409 GB, free: 13.51 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009374/1.965, allocations: 0.7359 MB / 1.41 GB, free: 12.78 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/1.965, allocations: 355.5 kB / 1.411 GB, free: 12.42 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.966, allocations: 301.1 kB / 1.411 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/1.967, allocations: 0.9175 MB / 1.412 GB, free: 11.2 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/1.969, allocations: 1.254 MB / 1.413 GB, free: 9.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/1.973, allocations: 2.322 MB / 1.415 GB, free: 7.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/1.973, allocations: 4 kB / 1.415 GB, free: 7.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00509/1.978, allocations: 2.606 MB / 1.418 GB, free: 4.848 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/1.978, allocations: 33.7 kB / 1.418 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/1.978, allocations: 16.19 kB / 1.418 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.629e-05/1.979, allocations: 16 kB / 1.418 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/1.981, allocations: 463.1 kB / 1.418 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/1.981, allocations: 23.09 kB / 1.418 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.983, allocations: 197.9 kB / 1.418 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.983, allocations: 80 kB / 1.419 GB, free: 4.059 MB / 1.045 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.001431/1.985, allocations: 0.6814 MB / 1.419 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005833/1.985, allocations: 217.5 kB / 1.419 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/1.99, allocations: 2.522 MB / 1.422 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.99, allocations: 20 kB / 1.422 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/1.99, allocations: 0 / 1.422 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003782/1.994, allocations: 2.329 MB / 1.424 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/2.004, allocations: 5.608 MB / 1.43 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/2.004, allocations: 4 kB / 1.43 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/2.007, allocations: 482.9 kB / 1.43 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/2.007, allocations: 11.94 kB / 1.43 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/2.007, allocations: 51.98 kB / 1.43 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/2.007, allocations: 8 kB / 1.43 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.007, allocations: 4 kB / 1.43 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006675/2.014, allocations: 3.8 MB / 1.434 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/2.015, allocations: 0.5371 MB / 1.434 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/2.016, allocations: 51.98 kB / 1.434 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/2.017, allocations: 63.06 kB / 1.435 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/2.017, allocations: 152.4 kB / 1.435 GB, free: 3.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/2.018, allocations: 71.97 kB / 1.435 GB, free: 3.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001533/2.019, allocations: 0.9944 MB / 1.436 GB, free: 2.332 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/2.019, allocations: 0 / 1.436 GB, free: 2.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002481/2.022, allocations: 0.9273 MB / 1.437 GB, free: 1.402 MB / 1.061 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.0008179/2.022, allocations: 390.3 kB / 1.437 GB, free: 1.055 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008817/2.031, allocations: 3.883 MB / 1.441 GB, free: 13.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/2.031, allocations: 5.75 kB / 1.441 GB, free: 13.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/2.034, allocations: 1.222 MB / 1.442 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006524/2.04, allocations: 1.285 MB / 1.443 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/2.051, allocations: 5.835 MB / 1.449 GB, free: 4.906 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/2.053, allocations: 1.971 MB / 1.451 GB, free: 2.898 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003213/2.056, allocations: 0.7288 MB / 1.452 GB, free: 2.168 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006972/2.057, allocations: 195.4 kB / 1.452 GB, free: 1.977 MB / 1.076 GB Notification: Performance of SimCode: time 1.213e-06/2.057, allocations: 2.25 kB / 1.452 GB, free: 1.977 MB / 1.076 GB Notification: Performance of Templates: time 0.08945/2.146, allocations: 47.35 MB / 1.498 GB, free: 3.371 MB / 1.123 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=400 -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