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.001849/0.00185, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001748/0.001748, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.578/1.578, allocations: 222.9 MB / 240.6 MB, free: 4.523 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.609/2.609, allocations: 390.2 MB / 0.665 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001773, allocations: 63.91 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9319/0.9337, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3415/1.275, allocations: 290.8 MB / 1.234 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9289/2.204, allocations: 22.91 MB / 1.256 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/2.209, allocations: 68.22 kB / 1.256 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006256/2.216, allocations: 1.606 MB / 1.258 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01864/2.234, allocations: 5.768 MB / 1.263 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009598/2.244, allocations: 2.657 MB / 1.266 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01643/2.26, allocations: 7.307 MB / 1.273 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007754/2.268, allocations: 2.875 MB / 1.276 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/2.282, allocations: 2.916 MB / 1.279 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008954/2.291, allocations: 2.873 MB / 1.282 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00142/2.292, allocations: 342.7 kB / 1.282 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02171/2.314, allocations: 6.224 MB / 1.288 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003962/2.318, allocations: 1.466 MB / 1.289 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008045/2.326, allocations: 1.909 MB / 1.291 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/2.339, allocations: 5.17 MB / 1.296 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/2.34, allocations: 0.9688 kB / 1.296 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/2.34, allocations: 0 / 1.296 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002819/2.34, allocations: 0 / 1.296 GB, free: 1.148 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.01847/2.358, allocations: 4.092 MB / 1.3 GB, free: 15.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/2.358, allocations: 10.22 kB / 1.3 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006892/2.365, allocations: 0.8455 MB / 1.301 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/2.371, allocations: 1.785 MB / 1.303 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/2.371, allocations: 211.8 kB / 1.303 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/2.373, allocations: 282 kB / 1.303 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/2.384, allocations: 3.597 MB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/2.384, allocations: 7.688 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008453/2.385, allocations: 112.4 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002719/2.386, allocations: 149.2 kB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008448/2.394, allocations: 3.285 MB / 1.31 GB, free: 14.37 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.02419/2.418, allocations: 14.15 MB / 1.324 GB, free: 6.113 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/2.423, allocations: 2.489 MB / 1.327 GB, free: 5.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/2.425, allocations: 1.354 MB / 1.328 GB, free: 5.656 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/2.427, allocations: 1.381 MB / 1.329 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002552/2.43, allocations: 1.22 MB / 1.331 GB, free: 4.074 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 4.95e-06/2.43, allocations: 0 / 1.331 GB, free: 4.074 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.007019/2.437, allocations: 3.168 MB / 1.334 GB, free: 3.879 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/2.437, allocations: 77.34 kB / 1.334 GB, free: 3.809 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/2.44, allocations: 1.46 MB / 1.335 GB, free: 3.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002771/2.44, allocations: 64.95 kB / 1.335 GB, free: 3.605 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/2.442, allocations: 1.118 MB / 1.336 GB, free: 3.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/2.443, allocations: 0.7328 MB / 1.337 GB, free: 2.664 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008156/2.444, allocations: 360.8 kB / 1.337 GB, free: 2.637 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001455/2.444, allocations: 303.4 kB / 1.338 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/2.446, allocations: 0.9073 MB / 1.338 GB, free: 2.332 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/2.448, allocations: 1.262 MB / 1.34 GB, free: 2.012 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003978/2.452, allocations: 2.321 MB / 1.342 GB, free: 1.672 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/2.452, allocations: 2.344 kB / 1.342 GB, free: 1.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005246/2.457, allocations: 2.604 MB / 1.345 GB, free: 1.445 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/2.457, allocations: 35.67 kB / 1.345 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/2.457, allocations: 7.719 kB / 1.345 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-05/2.457, allocations: 17.44 kB / 1.345 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/2.459, allocations: 467.9 kB / 1.345 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.269e-05/2.459, allocations: 30.66 kB / 1.345 GB, free: 1.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/2.463, allocations: 392.7 kB / 1.345 GB, free: 1.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/2.463, allocations: 86.3 kB / 1.346 GB, free: 1.277 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.001874/2.465, allocations: 0.6822 MB / 1.346 GB, free: 1.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009009/2.466, allocations: 214.3 kB / 1.346 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/2.471, allocations: 2.523 MB / 1.349 GB, free: 0.918 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/2.471, allocations: 25.88 kB / 1.349 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/2.471, allocations: 0 / 1.349 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003609/2.474, allocations: 2.328 MB / 1.351 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/2.486, allocations: 5.61 MB / 1.357 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/2.486, allocations: 6.562 kB / 1.357 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/2.489, allocations: 479.9 kB / 1.357 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.377e-05/2.489, allocations: 7.969 kB / 1.357 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/2.489, allocations: 53.45 kB / 1.357 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.609e-05/2.489, allocations: 10 kB / 1.357 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/2.489, allocations: 5.156 kB / 1.357 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/2.496, allocations: 3.802 MB / 1.361 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/2.498, allocations: 0.5353 MB / 1.361 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007967/2.499, allocations: 43.38 kB / 1.361 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/2.502, allocations: 248.5 kB / 1.362 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/2.503, allocations: 149.9 kB / 1.362 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/2.503, allocations: 69.84 kB / 1.362 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002458/2.505, allocations: 0.9888 MB / 1.363 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.31e-07/2.505, allocations: 0 / 1.363 GB, free: 13.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003974/2.509, allocations: 0.937 MB / 1.364 GB, free: 12.18 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.001219/2.511, allocations: 389.1 kB / 1.364 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009561/2.52, allocations: 3.881 MB / 1.368 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/2.52, allocations: 4.062 kB / 1.368 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/2.522, allocations: 1.212 MB / 1.369 GB, free: 7.367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007122/2.53, allocations: 1.288 MB / 1.37 GB, free: 6.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/2.545, allocations: 7.202 MB / 1.377 GB, free: 14.87 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/2.548, allocations: 1.979 MB / 1.379 GB, free: 12.85 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/2.55, allocations: 219.4 kB / 1.38 GB, free: 12.64 MB / 1.045 GB Notification: Performance of SimCode: time 1.763e-06/2.55, allocations: 0 / 1.38 GB, free: 12.64 MB / 1.045 GB Notification: Performance of Templates: time 0.08032/2.63, allocations: 41.55 MB / 1.42 GB, free: 3.391 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/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