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.001476/0.001476, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001602/0.001603, allocations: 193.7 kB / 17.31 MB, free: 5.613 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 4.207 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.411/2.411, allocations: 390.3 MB / 0.6655 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 0.814 GB, free: 13.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8474/0.8488, allocations: 140.4 MB / 0.9511 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.329/1.178, allocations: 294.3 MB / 1.238 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8441/2.022, allocations: 23.04 MB / 1.261 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005398/2.027, allocations: 76.28 kB / 1.261 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006376/2.034, allocations: 1.801 MB / 1.263 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01815/2.052, allocations: 6.119 MB / 1.269 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009512/2.062, allocations: 2.898 MB / 1.272 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01342/2.075, allocations: 7.302 MB / 1.279 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006512/2.082, allocations: 2.977 MB / 1.282 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009317/2.091, allocations: 2.89 MB / 1.284 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006746/2.098, allocations: 2.702 MB / 1.287 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001852/2.1, allocations: 341.1 kB / 1.287 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01599/2.116, allocations: 5.983 MB / 1.293 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003158/2.119, allocations: 1.469 MB / 1.295 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008129/2.127, allocations: 1.901 MB / 1.297 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01921/2.146, allocations: 6.927 MB / 1.303 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/2.146, allocations: 0 / 1.303 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.935e-06/2.146, allocations: 0 / 1.303 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002369/2.146, allocations: 3.531 kB / 1.303 GB, free: 0.7812 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.01513/2.162, allocations: 4.095 MB / 1.307 GB, free: 15.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/2.162, allocations: 9.25 kB / 1.307 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/2.168, allocations: 0.8463 MB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00517/2.174, allocations: 1.857 MB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/2.174, allocations: 210.6 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006812/2.175, allocations: 275.3 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006773/2.181, allocations: 3.595 MB / 1.314 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.935e-05/2.181, allocations: 10.47 kB / 1.314 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/2.182, allocations: 115.1 kB / 1.314 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/2.182, allocations: 149.1 kB / 1.314 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005843/2.188, allocations: 3.285 MB / 1.317 GB, free: 14 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.02108/2.209, allocations: 14.2 MB / 1.331 GB, free: 5.742 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/2.213, allocations: 2.485 MB / 1.334 GB, free: 5.309 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/2.215, allocations: 1.353 MB / 1.335 GB, free: 5.285 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/2.217, allocations: 1.379 MB / 1.336 GB, free: 3.773 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002354/2.219, allocations: 1.223 MB / 1.338 GB, free: 3.699 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 5.11e-06/2.219, allocations: 0 / 1.338 GB, free: 3.699 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.006372/2.226, allocations: 3.172 MB / 1.341 GB, free: 3.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/2.226, allocations: 83.03 kB / 1.341 GB, free: 3.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/2.229, allocations: 1.455 MB / 1.342 GB, free: 3.258 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/2.229, allocations: 66.2 kB / 1.342 GB, free: 3.227 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/2.231, allocations: 1.117 MB / 1.343 GB, free: 2.766 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/2.232, allocations: 0.7326 MB / 1.344 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/2.233, allocations: 361.4 kB / 1.344 GB, free: 2.262 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001359/2.233, allocations: 304.3 kB / 1.345 GB, free: 1.965 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/2.236, allocations: 0.9143 MB / 1.346 GB, free: 1.957 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/2.239, allocations: 1.252 MB / 1.347 GB, free: 1.637 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/2.244, allocations: 2.325 MB / 1.349 GB, free: 1.297 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/2.244, allocations: 2.656 kB / 1.349 GB, free: 1.297 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007252/2.252, allocations: 2.599 MB / 1.352 GB, free: 1.074 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.995e-05/2.252, allocations: 36.95 kB / 1.352 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/2.252, allocations: 7.844 kB / 1.352 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.083e-05/2.252, allocations: 15.41 kB / 1.352 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/2.255, allocations: 471.8 kB / 1.352 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.92e-05/2.255, allocations: 18.81 kB / 1.352 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/2.258, allocations: 191.8 kB / 1.352 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/2.259, allocations: 75.86 kB / 1.352 GB, free: 0.9375 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.002291/2.261, allocations: 0.6812 MB / 1.353 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/2.262, allocations: 215.8 kB / 1.353 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006913/2.269, allocations: 2.525 MB / 1.356 GB, free: 256 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/2.269, allocations: 23 kB / 1.356 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/2.269, allocations: 0 / 1.356 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005259/2.274, allocations: 2.331 MB / 1.358 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/2.29, allocations: 5.598 MB / 1.364 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/2.29, allocations: 2.969 kB / 1.364 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/2.292, allocations: 478.2 kB / 1.364 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.57e-05/2.292, allocations: 13.86 kB / 1.364 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/2.292, allocations: 58.78 kB / 1.364 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.709e-05/2.292, allocations: 13.88 kB / 1.364 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/2.292, allocations: 2.844 kB / 1.364 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007125/2.299, allocations: 3.805 MB / 1.368 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/2.301, allocations: 0.5449 MB / 1.368 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007271/2.302, allocations: 40 kB / 1.368 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/2.304, allocations: 64.59 kB / 1.368 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/2.305, allocations: 156.8 kB / 1.369 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/2.305, allocations: 71.97 kB / 1.369 GB, free: 9.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002052/2.307, allocations: 0.9905 MB / 1.37 GB, free: 8.203 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/2.307, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003343/2.31, allocations: 0.935 MB / 1.37 GB, free: 7.266 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.001001/2.311, allocations: 386.7 kB / 1.371 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004542/2.316, allocations: 2.346 MB / 1.373 GB, free: 4.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/2.316, allocations: 4 kB / 1.373 GB, free: 4.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002178/2.318, allocations: 1.226 MB / 1.374 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006586/2.325, allocations: 1.278 MB / 1.376 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/2.337, allocations: 5.778 MB / 1.381 GB, free: 12.36 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/2.339, allocations: 1.971 MB / 1.383 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004329/2.343, allocations: 0.7249 MB / 1.384 GB, free: 9.629 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/2.345, allocations: 195.4 kB / 1.384 GB, free: 9.438 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/2.345, allocations: 0 / 1.384 GB, free: 9.438 MB / 1.045 GB Notification: Performance of Templates: time 0.1041/2.449, allocations: 47.31 MB / 1.43 GB, free: 10.93 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 -s cvode -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