Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001706/0.001706, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002232/0.002232, allocations: 218.8 kB / 22.25 MB, free: 5.102 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.056/3.056, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_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.001929/0.001929, allocations: 67.41 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3695, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2976/0.6671, allocations: 262.2 MB / 1.582 GB, free: 10.3 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03221/0.6993, allocations: 21.35 MB / 1.603 GB, free: 4.898 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/0.703, allocations: 99.25 kB / 1.603 GB, free: 4.801 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005158/0.7081, allocations: 1.709 MB / 1.605 GB, free: 3.082 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.8307/1.539, allocations: 6.384 MB / 1.611 GB, free: 6.246 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.00857/1.547, allocations: 2.97 MB / 1.614 GB, free: 6.246 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01175/1.559, allocations: 7.415 MB / 1.621 GB, free: 6.234 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005237/1.564, allocations: 2.16 MB / 1.623 GB, free: 6.086 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/1.575, allocations: 3.274 MB / 1.626 GB, free: 6.082 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00804/1.583, allocations: 2.848 MB / 1.629 GB, free: 6.082 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001149/1.585, allocations: 342.7 kB / 1.629 GB, free: 6.082 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/1.598, allocations: 4.962 MB / 1.634 GB, free: 6.059 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002899/1.601, allocations: 1.496 MB / 1.636 GB, free: 6.059 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003904/1.605, allocations: 1.604 MB / 1.637 GB, free: 6.059 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01829/1.623, allocations: 6.789 MB / 1.644 GB, free: 5.59 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.623, allocations: 0.6562 kB / 1.644 GB, free: 5.59 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.605e-06/1.623, allocations: 0.8125 kB / 1.644 GB, free: 5.59 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001602/1.623, allocations: 1.594 kB / 1.644 GB, free: 5.59 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.01372/1.637, allocations: 4.114 MB / 1.648 GB, free: 19.91 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.637, allocations: 11.22 kB / 1.648 GB, free: 19.91 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005281/1.637, allocations: 389.9 kB / 1.648 GB, free: 19.86 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005756/1.643, allocations: 0.8626 MB / 1.649 GB, free: 19.67 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/1.647, allocations: 1.784 MB / 1.651 GB, free: 19.2 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.647, allocations: 215.1 kB / 1.651 GB, free: 19.19 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/1.647, allocations: 277.8 kB / 1.651 GB, free: 19.19 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005506/1.653, allocations: 3.928 MB / 1.655 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.973e-05/1.653, allocations: 5.969 kB / 1.655 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/1.653, allocations: 113.5 kB / 1.655 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/1.653, allocations: 148.1 kB / 1.655 GB, free: 18.41 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005084/1.659, allocations: 3.271 MB / 1.659 GB, free: 18.38 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.01345/1.672, allocations: 9.031 MB / 1.667 GB, free: 15.41 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/1.675, allocations: 2.056 MB / 1.669 GB, free: 15.36 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/1.676, allocations: 1.247 MB / 1.671 GB, free: 15.34 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/1.677, allocations: 179.2 kB / 1.671 GB, free: 15.34 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/1.679, allocations: 1.552 MB / 1.672 GB, free: 14.86 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.799e-06/1.679, allocations: 0 / 1.672 GB, free: 14.86 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005355/1.684, allocations: 3.181 MB / 1.675 GB, free: 14.66 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/1.685, allocations: 78.02 kB / 1.676 GB, free: 14.59 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/1.686, allocations: 1.461 MB / 1.677 GB, free: 14.41 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/1.687, allocations: 68.8 kB / 1.677 GB, free: 14.38 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008504/1.687, allocations: 1.135 MB / 1.678 GB, free: 13.9 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/1.688, allocations: 0.7718 MB / 1.679 GB, free: 13.39 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000503/1.689, allocations: 362.8 kB / 1.679 GB, free: 13.36 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.689, allocations: 309 kB / 1.68 GB, free: 13.06 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/1.69, allocations: 0.9368 MB / 1.68 GB, free: 13.02 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.692, allocations: 1.412 MB / 1.682 GB, free: 12.52 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/1.695, allocations: 2.322 MB / 1.684 GB, free: 12.2 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.695, allocations: 3.281 kB / 1.684 GB, free: 12.2 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004156/1.699, allocations: 2.639 MB / 1.687 GB, free: 11.95 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/1.699, allocations: 35.2 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.699, allocations: 6.719 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/1.699, allocations: 17 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.701, allocations: 471.8 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/1.701, allocations: 18.09 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.703, allocations: 197 kB / 1.687 GB, free: 11.81 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.703, allocations: 82.7 kB / 1.687 GB, free: 11.81 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.001304/1.704, allocations: 0.6858 MB / 1.688 GB, free: 11.68 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/1.705, allocations: 228 kB / 1.688 GB, free: 11.57 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/1.709, allocations: 2.522 MB / 1.691 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.709, allocations: 19.66 kB / 1.691 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.709, allocations: 0 / 1.691 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003411/1.712, allocations: 2.331 MB / 1.693 GB, free: 11.05 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008873/1.721, allocations: 5.126 MB / 1.698 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.721, allocations: 6.938 kB / 1.698 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.723, allocations: 474.8 kB / 1.699 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/1.723, allocations: 10.38 kB / 1.699 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/1.723, allocations: 56.83 kB / 1.699 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/1.723, allocations: 14.64 kB / 1.699 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.723, allocations: 2.875 kB / 1.699 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/1.729, allocations: 3.812 MB / 1.702 GB, free: 10.12 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.73, allocations: 488.9 kB / 1.703 GB, free: 9.973 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/1.73, allocations: 42.36 kB / 1.703 GB, free: 9.973 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.732, allocations: 70.36 kB / 1.703 GB, free: 9.969 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/1.732, allocations: 159.1 kB / 1.703 GB, free: 9.961 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.732, allocations: 69.14 kB / 1.703 GB, free: 9.961 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001238/1.733, allocations: 0.9917 MB / 1.704 GB, free: 9.852 MB / 1.311 GB Notification: Performance of sort global known variables: time 6e-08/1.733, allocations: 0 / 1.704 GB, free: 9.852 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002256/1.736, allocations: 0.9398 MB / 1.705 GB, free: 9.715 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.005784/1.741, allocations: 4.624 MB / 1.71 GB, free: 8.746 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003381/1.745, allocations: 2.258 MB / 1.712 GB, free: 8.605 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.745, allocations: 0 / 1.712 GB, free: 8.605 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/1.746, allocations: 1.15 MB / 1.713 GB, free: 8.598 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/1.752, allocations: 1.292 MB / 1.714 GB, free: 8.43 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/1.78, allocations: 18.74 MB / 1.732 GB, free: 0.9648 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.782, allocations: 1.408 MB / 1.734 GB, free: 0.6289 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002602/1.784, allocations: 0.72 MB / 1.735 GB, free: 0.4961 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002506/1.787, allocations: 1.184 MB / 1.736 GB, free: 15.99 MB / 1.326 GB Notification: Performance of SimCode: time 8.01e-07/1.787, allocations: 0 / 1.736 GB, free: 15.99 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/1.911, allocations: 72.26 MB / 1.806 GB, free: 0.8633 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/16.1, allocations: 0 / 1.806 GB, free: 0.8633 MB / 1.373 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.955098138016183]