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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8431/0.8431, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.689/1.689, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.655e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5627/0.5627, allocations: 261.6 MB / 1.255 GB, free: 6.426 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.5826, allocations: 21.43 MB / 1.276 GB, free: 0.9453 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.585, allocations: 99.25 kB / 1.276 GB, free: 0.8477 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.003233/0.5882, allocations: 1.739 MB / 1.278 GB, free: 15.1 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.5988, allocations: 6.592 MB / 1.284 GB, free: 8.477 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.005141/0.6039, allocations: 3.034 MB / 1.287 GB, free: 5.445 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.006706/0.6106, allocations: 7.559 MB / 1.295 GB, free: 13.87 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.613, allocations: 2.107 MB / 1.297 GB, free: 11.71 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/0.6182, allocations: 4.196 MB / 1.301 GB, free: 7.543 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.6207, allocations: 2.552 MB / 1.303 GB, free: 4.996 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.0003419/0.621, allocations: 348 kB / 1.304 GB, free: 4.656 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006713/0.6278, allocations: 5.023 MB / 1.309 GB, free: 15.62 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.6289, allocations: 1.593 MB / 1.31 GB, free: 14.02 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.6301, allocations: 1.403 MB / 1.311 GB, free: 12.61 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.007838/0.6379, allocations: 7.106 MB / 1.318 GB, free: 5.488 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6379, allocations: 0 / 1.318 GB, free: 5.488 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6379, allocations: 0 / 1.318 GB, free: 5.488 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.553e-05/0.638, allocations: 0 / 1.318 GB, free: 5.488 MB / 1.151 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.005635/0.6436, allocations: 4.115 MB / 1.322 GB, free: 1.312 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6437, allocations: 12.75 kB / 1.322 GB, free: 1.301 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003465/0.644, allocations: 396 kB / 1.323 GB, free: 0.9062 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/0.6481, allocations: 1.243 MB / 1.324 GB, free: 15.66 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.6503, allocations: 1.81 MB / 1.326 GB, free: 13.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.509e-05/0.6503, allocations: 205.4 kB / 1.326 GB, free: 13.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.6506, allocations: 283.9 kB / 1.326 GB, free: 13.32 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/0.6547, allocations: 4.114 MB / 1.33 GB, free: 8.996 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/0.6547, allocations: 4.688 kB / 1.33 GB, free: 8.992 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.6549, allocations: 116 kB / 1.33 GB, free: 8.879 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.63e-05/0.655, allocations: 153.2 kB / 1.331 GB, free: 8.727 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00412/0.6591, allocations: 3.565 MB / 1.334 GB, free: 5.148 MB / 1.167 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.009076/0.6682, allocations: 9.372 MB / 1.343 GB, free: 11.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.6712, allocations: 2.395 MB / 1.346 GB, free: 9.211 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.6728, allocations: 1.391 MB / 1.347 GB, free: 7.82 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.6729, allocations: 57.95 kB / 1.347 GB, free: 7.766 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.6746, allocations: 1.735 MB / 1.349 GB, free: 5.934 MB / 1.182 GB Notification: Performance of pre-optimization done (n=213): time 4.97e-06/0.6746, allocations: 4 kB / 1.349 GB, free: 5.93 MB / 1.182 GB Notification: Performance of matching and sorting (n=213): time 0.004823/0.6794, allocations: 3.606 MB / 1.352 GB, free: 2.32 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.6795, allocations: 73.41 kB / 1.352 GB, free: 2.238 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.6808, allocations: 1.48 MB / 1.354 GB, free: 0.7539 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.6809, allocations: 65.7 kB / 1.354 GB, free: 0.6836 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/0.6816, allocations: 1.145 MB / 1.355 GB, free: 15.53 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004785/0.6821, allocations: 0.7668 MB / 1.356 GB, free: 14.75 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/0.6825, allocations: 363.5 kB / 1.356 GB, free: 14.39 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.6825, allocations: 309.1 kB / 1.356 GB, free: 14.09 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.6839, allocations: 1.091 MB / 1.357 GB, free: 12.98 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.6854, allocations: 1.557 MB / 1.359 GB, free: 11.27 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.6883, allocations: 2.579 MB / 1.361 GB, free: 8.582 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.6883, allocations: 4 kB / 1.361 GB, free: 8.578 MB / 1.198 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003457/0.6917, allocations: 2.925 MB / 1.364 GB, free: 5.633 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.6918, allocations: 41.69 kB / 1.364 GB, free: 5.586 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.6918, allocations: 10.58 kB / 1.364 GB, free: 5.578 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.6918, allocations: 16 kB / 1.364 GB, free: 5.562 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.693, allocations: 0.4953 MB / 1.365 GB, free: 5.066 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.6931, allocations: 23.94 kB / 1.365 GB, free: 5.043 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.6942, allocations: 234.5 kB / 1.365 GB, free: 4.812 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6943, allocations: 79.97 kB / 1.365 GB, free: 4.734 MB / 1.198 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.0009663/0.6953, allocations: 0.6885 MB / 1.366 GB, free: 4.035 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.6955, allocations: 222.6 kB / 1.366 GB, free: 3.816 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/0.6988, allocations: 2.811 MB / 1.369 GB, free: 0.9883 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.6988, allocations: 20 kB / 1.369 GB, free: 0.9688 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6988, allocations: 3.938 kB / 1.369 GB, free: 0.9648 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002829/0.7017, allocations: 2.632 MB / 1.371 GB, free: 14.27 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006425/0.7081, allocations: 5.588 MB / 1.377 GB, free: 8.594 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7081, allocations: 4.031 kB / 1.377 GB, free: 8.59 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.7094, allocations: 0.5071 MB / 1.377 GB, free: 8.082 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.7094, allocations: 13.12 kB / 1.377 GB, free: 8.07 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.7095, allocations: 63.95 kB / 1.377 GB, free: 8.008 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.7096, allocations: 8 kB / 1.377 GB, free: 8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7096, allocations: 7.938 kB / 1.377 GB, free: 7.992 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.7144, allocations: 4.31 MB / 1.382 GB, free: 3.633 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008002/0.7152, allocations: 0.5058 MB / 1.382 GB, free: 3.125 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.7154, allocations: 40 kB / 1.382 GB, free: 3.086 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/0.7163, allocations: 111.5 kB / 1.382 GB, free: 2.98 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.7165, allocations: 153.6 kB / 1.382 GB, free: 2.832 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.7166, allocations: 75.95 kB / 1.382 GB, free: 2.758 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.0009152/0.7175, allocations: 0.9987 MB / 1.383 GB, free: 1.766 MB / 1.214 GB Notification: Performance of sort global known variables: time 8e-08/0.7175, allocations: 0 / 1.383 GB, free: 1.766 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.001467/0.719, allocations: 0.9514 MB / 1.384 GB, free: 0.8125 MB / 1.214 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.005362/0.7243, allocations: 5.122 MB / 1.389 GB, free: 11.63 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.003347/0.7277, allocations: 2.561 MB / 1.392 GB, free: 9.055 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7277, allocations: 4 kB / 1.392 GB, free: 9.051 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.7292, allocations: 1.3 MB / 1.393 GB, free: 7.75 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/0.7325, allocations: 1.294 MB / 1.394 GB, free: 6.48 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.7531, allocations: 19.58 MB / 1.413 GB, free: 2.367 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.7541, allocations: 1.419 MB / 1.415 GB, free: 0.9062 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.001935/0.7561, allocations: 0.7329 MB / 1.416 GB, free: 172 kB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.7574, allocations: 1.106 MB / 1.417 GB, free: 15.05 MB / 1.26 GB Notification: Performance of SimCode: time 1.693e-06/0.7574, allocations: 0 / 1.417 GB, free: 15.05 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0767/0.8341, allocations: 74.96 MB / 1.49 GB, free: 5.273 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.813, allocations: 8.062 kB / 1.49 GB, free: 5.266 MB / 1.323 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.724202510900795]