Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001709/0.00171, allocations: 100.1 kB / 15.88 MB, free: 12 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.002213/0.002213, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 63.52 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3191, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.005/1.324, allocations: 292.1 MB / 1.338 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0295/1.354, allocations: 23.26 MB / 1.361 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005606/1.359, allocations: 67.72 kB / 1.361 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005466/1.365, allocations: 1.551 MB / 1.362 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01839/1.383, allocations: 5.78 MB / 1.368 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009118/1.393, allocations: 2.623 MB / 1.37 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01406/1.407, allocations: 10.73 MB / 1.381 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005585/1.412, allocations: 2.521 MB / 1.383 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009209/1.421, allocations: 2.532 MB / 1.386 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00735/1.429, allocations: 2.825 MB / 1.389 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001738/1.431, allocations: 203.7 kB / 1.389 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/1.448, allocations: 6.901 MB / 1.396 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003128/1.451, allocations: 1.341 MB / 1.397 GB, free: 7.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005982/1.457, allocations: 1.75 MB / 1.399 GB, free: 6.164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/1.469, allocations: 5.132 MB / 1.404 GB, free: 3.242 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/1.469, allocations: 0 / 1.404 GB, free: 3.242 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/1.469, allocations: 0 / 1.404 GB, free: 3.242 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002452/1.469, allocations: 0 / 1.404 GB, free: 3.242 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.01613/1.485, allocations: 4.1 MB / 1.408 GB, free: 476 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.485, allocations: 12.42 kB / 1.408 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006829/1.492, allocations: 0.8433 MB / 1.408 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/1.497, allocations: 1.784 MB / 1.41 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/1.497, allocations: 211 kB / 1.41 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009067/1.498, allocations: 274.4 kB / 1.411 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/1.505, allocations: 3.605 MB / 1.414 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/1.505, allocations: 7.938 kB / 1.414 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/1.506, allocations: 113.5 kB / 1.414 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/1.506, allocations: 149.3 kB / 1.414 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005814/1.512, allocations: 3.284 MB / 1.418 GB, free: 6.645 MB / 1.029 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.01787/1.529, allocations: 14.14 MB / 1.431 GB, free: 7.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/1.533, allocations: 2.483 MB / 1.434 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/1.536, allocations: 1.356 MB / 1.435 GB, free: 3.504 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.537, allocations: 1.379 MB / 1.437 GB, free: 1.836 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002105/1.539, allocations: 1.226 MB / 1.438 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 5.029e-06/1.539, allocations: 0 / 1.438 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.006285/1.545, allocations: 3.172 MB / 1.441 GB, free: 13.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/1.545, allocations: 77.39 kB / 1.441 GB, free: 13.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/1.548, allocations: 1.449 MB / 1.442 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.548, allocations: 65.7 kB / 1.442 GB, free: 11.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.549, allocations: 1.122 MB / 1.444 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008059/1.55, allocations: 0.735 MB / 1.444 GB, free: 9.945 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005906/1.55, allocations: 359.5 kB / 1.445 GB, free: 9.586 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.551, allocations: 305.1 kB / 1.445 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.552, allocations: 0.9136 MB / 1.446 GB, free: 8.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/1.554, allocations: 1.254 MB / 1.447 GB, free: 6.992 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/1.558, allocations: 2.317 MB / 1.449 GB, free: 4.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/1.558, allocations: 7.938 kB / 1.449 GB, free: 4.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005027/1.563, allocations: 2.602 MB / 1.452 GB, free: 1.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/1.563, allocations: 37.7 kB / 1.452 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.563, allocations: 8 kB / 1.452 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/1.563, allocations: 16 kB / 1.452 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/1.565, allocations: 467.4 kB / 1.452 GB, free: 1.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-05/1.565, allocations: 16 kB / 1.452 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/1.568, allocations: 401.8 kB / 1.453 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.569, allocations: 75.98 kB / 1.453 GB, free: 0.9375 MB / 1.061 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.001737/1.57, allocations: 0.6923 MB / 1.453 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005701/1.571, allocations: 213.5 kB / 1.454 GB, free: 24 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/1.575, allocations: 2.522 MB / 1.456 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/1.575, allocations: 24 kB / 1.456 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.575, allocations: 0 / 1.456 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003378/1.579, allocations: 2.331 MB / 1.458 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009474/1.588, allocations: 5.611 MB / 1.464 GB, free: 5.391 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.588, allocations: 0 / 1.464 GB, free: 5.391 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/1.591, allocations: 475.7 kB / 1.464 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/1.591, allocations: 15.98 kB / 1.464 GB, free: 4.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.591, allocations: 51.98 kB / 1.464 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/1.591, allocations: 11.94 kB / 1.464 GB, free: 4.848 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.591, allocations: 4 kB / 1.464 GB, free: 4.844 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005816/1.597, allocations: 3.803 MB / 1.468 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.598, allocations: 0.5448 MB / 1.469 GB, free: 436 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/1.598, allocations: 48 kB / 1.469 GB, free: 388 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.6, allocations: 240.2 kB / 1.469 GB, free: 148 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/1.601, allocations: 145.7 kB / 1.469 GB, free: 4 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.601, allocations: 68.92 kB / 1.469 GB, free: 15.94 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001327/1.602, allocations: 0.9905 MB / 1.47 GB, free: 14.95 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/1.602, allocations: 0 / 1.47 GB, free: 14.95 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00227/1.605, allocations: 0.939 MB / 1.471 GB, free: 14.01 MB / 1.092 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.0007849/1.605, allocations: 385.9 kB / 1.471 GB, free: 13.65 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003732/1.609, allocations: 2.329 MB / 1.474 GB, free: 11.31 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.609, allocations: 4.562 kB / 1.474 GB, free: 11.3 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.611, allocations: 1.217 MB / 1.475 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005307/1.616, allocations: 1.228 MB / 1.476 GB, free: 8.879 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/1.627, allocations: 7.198 MB / 1.483 GB, free: 1.621 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/1.628, allocations: 1.979 MB / 1.485 GB, free: 15.61 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.629, allocations: 211.4 kB / 1.485 GB, free: 15.4 MB / 1.107 GB Notification: Performance of SimCode: time 6.61e-07/1.629, allocations: 0 / 1.485 GB, free: 15.4 MB / 1.107 GB Notification: Performance of Templates: time 0.07457/1.704, allocations: 41.63 MB / 1.526 GB, free: 5.973 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches