Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001565/0.001565, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001978/0.001978, allocations: 216 kB / 22.26 MB, free: 5.113 MB / 14.72 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 1.92/1.92, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 66.64 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.324/0.6385, allocations: 299.7 MB / 1.576 GB, free: 14.91 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03278/0.6713, allocations: 23.26 MB / 1.599 GB, free: 7.59 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/0.6743, allocations: 103.2 kB / 1.599 GB, free: 7.488 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.004946/0.6792, allocations: 1.884 MB / 1.601 GB, free: 5.594 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.7412/1.42, allocations: 6.436 MB / 1.607 GB, free: 6.641 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01274/1.433, allocations: 2.99 MB / 1.61 GB, free: 6.641 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01521/1.448, allocations: 7.431 MB / 1.617 GB, free: 6.633 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004385/1.453, allocations: 2.165 MB / 1.619 GB, free: 6.484 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00856/1.461, allocations: 2.989 MB / 1.622 GB, free: 6.48 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006614/1.468, allocations: 2.893 MB / 1.625 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001221/1.469, allocations: 343.7 kB / 1.625 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/1.483, allocations: 6.448 MB / 1.632 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003008/1.486, allocations: 1.498 MB / 1.633 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004579/1.49, allocations: 1.905 MB / 1.635 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/1.504, allocations: 6.962 MB / 1.642 GB, free: 5.93 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.504, allocations: 0.875 kB / 1.642 GB, free: 5.93 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.834e-06/1.504, allocations: 0 / 1.642 GB, free: 5.93 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001554/1.505, allocations: 0.9688 kB / 1.642 GB, free: 5.93 MB / 1.295 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.01159/1.516, allocations: 4.121 MB / 1.646 GB, free: 20.25 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.516, allocations: 16.03 kB / 1.646 GB, free: 20.25 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005025/1.517, allocations: 390.4 kB / 1.646 GB, free: 20.2 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/1.522, allocations: 0.8605 MB / 1.647 GB, free: 20.01 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004004/1.526, allocations: 1.784 MB / 1.649 GB, free: 19.54 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.526, allocations: 210.4 kB / 1.649 GB, free: 19.53 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006311/1.527, allocations: 277.2 kB / 1.649 GB, free: 19.53 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005906/1.533, allocations: 3.6 MB / 1.653 GB, free: 19.17 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/1.533, allocations: 11.5 kB / 1.653 GB, free: 19.17 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/1.533, allocations: 115 kB / 1.653 GB, free: 19.17 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/1.533, allocations: 145.4 kB / 1.653 GB, free: 19.16 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005573/1.539, allocations: 3.287 MB / 1.656 GB, free: 19.13 MB / 1.311 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.01913/1.558, allocations: 14.1 MB / 1.67 GB, free: 10.89 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/1.561, allocations: 2.069 MB / 1.672 GB, free: 10.84 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/1.563, allocations: 1.249 MB / 1.673 GB, free: 10.82 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007698/1.564, allocations: 186.4 kB / 1.673 GB, free: 10.82 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/1.566, allocations: 1.226 MB / 1.675 GB, free: 10.74 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.068e-06/1.566, allocations: 0 / 1.675 GB, free: 10.74 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005318/1.571, allocations: 3.179 MB / 1.678 GB, free: 10.54 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/1.571, allocations: 74.56 kB / 1.678 GB, free: 10.48 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/1.573, allocations: 1.458 MB / 1.679 GB, free: 10.3 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002461/1.573, allocations: 69.67 kB / 1.679 GB, free: 10.27 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/1.574, allocations: 1.137 MB / 1.68 GB, free: 9.789 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/1.575, allocations: 0.7677 MB / 1.681 GB, free: 9.285 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/1.575, allocations: 358.4 kB / 1.682 GB, free: 9.258 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.576, allocations: 309.8 kB / 1.682 GB, free: 8.957 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/1.577, allocations: 0.9096 MB / 1.683 GB, free: 8.949 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/1.578, allocations: 1.256 MB / 1.684 GB, free: 8.633 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/1.581, allocations: 2.325 MB / 1.686 GB, free: 8.305 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/1.582, allocations: 2.719 kB / 1.686 GB, free: 8.305 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004235/1.586, allocations: 2.607 MB / 1.689 GB, free: 8.082 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/1.586, allocations: 36.27 kB / 1.689 GB, free: 8.051 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.586, allocations: 9.062 kB / 1.689 GB, free: 8.051 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/1.586, allocations: 15.12 kB / 1.689 GB, free: 8.051 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/1.588, allocations: 465.7 kB / 1.689 GB, free: 8.051 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/1.588, allocations: 25.56 kB / 1.689 GB, free: 8.051 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/1.59, allocations: 200.7 kB / 1.689 GB, free: 7.945 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.59, allocations: 82.86 kB / 1.69 GB, free: 7.941 MB / 1.311 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.001403/1.591, allocations: 0.6812 MB / 1.69 GB, free: 7.82 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006302/1.592, allocations: 223.2 kB / 1.69 GB, free: 7.707 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/1.596, allocations: 2.525 MB / 1.693 GB, free: 7.586 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.596, allocations: 20.81 kB / 1.693 GB, free: 7.586 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.596, allocations: 1.062 kB / 1.693 GB, free: 7.586 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/1.599, allocations: 2.333 MB / 1.695 GB, free: 7.195 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009232/1.608, allocations: 5.514 MB / 1.701 GB, free: 6.691 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.608, allocations: 3.531 kB / 1.701 GB, free: 6.691 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.61, allocations: 474.5 kB / 1.701 GB, free: 6.691 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/1.61, allocations: 9.688 kB / 1.701 GB, free: 6.691 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/1.611, allocations: 55.73 kB / 1.701 GB, free: 6.691 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.561e-05/1.611, allocations: 14.91 kB / 1.701 GB, free: 6.691 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.611, allocations: 3.906 kB / 1.701 GB, free: 6.691 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/1.616, allocations: 3.807 MB / 1.705 GB, free: 6.266 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.617, allocations: 482.2 kB / 1.705 GB, free: 6.121 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.618, allocations: 48.23 kB / 1.705 GB, free: 6.121 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.619, allocations: 72.58 kB / 1.705 GB, free: 6.113 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/1.62, allocations: 160.4 kB / 1.706 GB, free: 6.109 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.62, allocations: 68.97 kB / 1.706 GB, free: 6.109 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001253/1.621, allocations: 0.9915 MB / 1.707 GB, free: 6 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/1.621, allocations: 0.8125 kB / 1.707 GB, free: 6 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002257/1.623, allocations: 0.9349 MB / 1.708 GB, free: 5.867 MB / 1.311 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.006152/1.629, allocations: 4.624 MB / 1.712 GB, free: 4.891 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003484/1.633, allocations: 2.23 MB / 1.714 GB, free: 4.789 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.633, allocations: 0 / 1.714 GB, free: 4.789 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/1.634, allocations: 1.149 MB / 1.715 GB, free: 4.781 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/1.64, allocations: 1.296 MB / 1.717 GB, free: 4.59 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.669, allocations: 18.67 MB / 1.735 GB, free: 14.36 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.671, allocations: 1.966 MB / 1.737 GB, free: 12.88 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002726/1.673, allocations: 0.727 MB / 1.737 GB, free: 12.32 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.675, allocations: 1.102 MB / 1.739 GB, free: 11.68 MB / 1.326 GB Notification: Performance of SimCode: time 7.21e-07/1.675, allocations: 0 / 1.739 GB, free: 11.68 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/1.807, allocations: 67.66 MB / 1.805 GB, free: 9.879 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/17.76, allocations: 10.42 kB / 1.805 GB, free: 9.875 MB / 1.389 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 25.316704769153148]