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.001787/0.001787, allocations: 103.6 kB / 16.45 MB, free: 6.449 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.001994/0.001994, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.372/1.372, allocations: 230.6 MB / 252.8 MB, free: 9.137 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 2.977/2.977, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.001933/0.001933, allocations: 67.28 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.093/1.421, allocations: 298.7 MB / 1.613 GB, free: 3.891 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02914/1.45, allocations: 23.16 MB / 1.635 GB, free: 3.832 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003993/1.454, allocations: 100.8 kB / 1.635 GB, free: 3.832 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005169/1.459, allocations: 1.883 MB / 1.637 GB, free: 3.805 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01627/1.475, allocations: 6.317 MB / 1.643 GB, free: 3.57 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008232/1.483, allocations: 2.918 MB / 1.646 GB, free: 3.5 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01069/1.494, allocations: 7.303 MB / 1.653 GB, free: 3.477 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/1.499, allocations: 2.461 MB / 1.656 GB, free: 3.32 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009107/1.508, allocations: 3.232 MB / 1.659 GB, free: 3.312 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00635/1.514, allocations: 2.851 MB / 1.662 GB, free: 3.309 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001376/1.516, allocations: 343 kB / 1.662 GB, free: 3.309 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0139/1.529, allocations: 6.318 MB / 1.668 GB, free: 3.25 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002911/1.532, allocations: 1.489 MB / 1.67 GB, free: 3.25 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004998/1.537, allocations: 1.913 MB / 1.671 GB, free: 2.898 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/1.553, allocations: 6.959 MB / 1.678 GB, free: 2.121 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.553, allocations: 0.7812 kB / 1.678 GB, free: 2.121 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.854e-06/1.553, allocations: 2.094 kB / 1.678 GB, free: 2.121 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001674/1.553, allocations: 1.062 kB / 1.678 GB, free: 2.121 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.0121/1.565, allocations: 4.198 MB / 1.682 GB, free: 16.34 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.565, allocations: 11.92 kB / 1.682 GB, free: 16.34 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000557/1.566, allocations: 402.6 kB / 1.683 GB, free: 16.28 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005672/1.571, allocations: 0.8602 MB / 1.684 GB, free: 16.09 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004232/1.576, allocations: 1.874 MB / 1.685 GB, free: 15.57 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/1.576, allocations: 203.8 kB / 1.686 GB, free: 15.56 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005142/1.576, allocations: 280.6 kB / 1.686 GB, free: 15.56 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/1.582, allocations: 3.598 MB / 1.689 GB, free: 15.2 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/1.582, allocations: 5.062 kB / 1.689 GB, free: 15.2 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/1.583, allocations: 118.4 kB / 1.689 GB, free: 15.2 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/1.583, allocations: 143.8 kB / 1.69 GB, free: 15.19 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0053/1.588, allocations: 3.294 MB / 1.693 GB, free: 15.15 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.01832/1.606, allocations: 14.24 MB / 1.707 GB, free: 6.84 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/1.61, allocations: 2.373 MB / 1.709 GB, free: 6.395 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/1.612, allocations: 1.247 MB / 1.71 GB, free: 6.371 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.613, allocations: 1.378 MB / 1.712 GB, free: 4.863 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/1.615, allocations: 1.223 MB / 1.713 GB, free: 4.785 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 3.947e-06/1.615, allocations: 2.719 kB / 1.713 GB, free: 4.785 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005608/1.621, allocations: 3.177 MB / 1.716 GB, free: 4.578 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/1.621, allocations: 79 kB / 1.716 GB, free: 4.512 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.623, allocations: 1.457 MB / 1.717 GB, free: 4.344 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/1.623, allocations: 66.98 kB / 1.717 GB, free: 4.312 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009547/1.624, allocations: 1.139 MB / 1.719 GB, free: 3.828 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007789/1.625, allocations: 0.7708 MB / 1.719 GB, free: 3.32 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005325/1.625, allocations: 363.6 kB / 1.72 GB, free: 3.289 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.625, allocations: 309.1 kB / 1.72 GB, free: 2.984 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/1.627, allocations: 0.911 MB / 1.721 GB, free: 2.977 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/1.628, allocations: 1.258 MB / 1.722 GB, free: 2.652 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/1.631, allocations: 2.317 MB / 1.724 GB, free: 2.312 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.631, allocations: 2.781 kB / 1.724 GB, free: 2.312 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0044/1.636, allocations: 2.607 MB / 1.727 GB, free: 1.434 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/1.636, allocations: 42.33 kB / 1.727 GB, free: 1.395 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.636, allocations: 8.25 kB / 1.727 GB, free: 1.395 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.636, allocations: 16.41 kB / 1.727 GB, free: 1.395 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/1.638, allocations: 464.1 kB / 1.727 GB, free: 1.379 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/1.638, allocations: 23.08 kB / 1.727 GB, free: 1.379 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.64, allocations: 197.7 kB / 1.728 GB, free: 1.242 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.64, allocations: 79.69 kB / 1.728 GB, free: 1.227 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.001379/1.642, allocations: 0.6846 MB / 1.728 GB, free: 0.8672 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/1.642, allocations: 226.8 kB / 1.729 GB, free: 0.75 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/1.647, allocations: 2.523 MB / 1.731 GB, free: 15.62 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.647, allocations: 19.56 kB / 1.731 GB, free: 15.62 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/1.647, allocations: 0.5938 kB / 1.731 GB, free: 15.62 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00339/1.65, allocations: 2.329 MB / 1.733 GB, free: 14.3 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009112/1.659, allocations: 5.617 MB / 1.739 GB, free: 10.86 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.659, allocations: 2.438 kB / 1.739 GB, free: 10.86 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/1.661, allocations: 481.6 kB / 1.739 GB, free: 10.77 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/1.661, allocations: 8.594 kB / 1.739 GB, free: 10.77 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.661, allocations: 54.58 kB / 1.739 GB, free: 10.73 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/1.661, allocations: 12.41 kB / 1.739 GB, free: 10.73 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.661, allocations: 3.562 kB / 1.739 GB, free: 10.73 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00586/1.667, allocations: 3.815 MB / 1.743 GB, free: 8.688 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.669, allocations: 0.5568 MB / 1.744 GB, free: 8.258 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/1.669, allocations: 44.95 kB / 1.744 GB, free: 8.227 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.671, allocations: 61.28 kB / 1.744 GB, free: 8.191 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/1.671, allocations: 156.7 kB / 1.744 GB, free: 8.109 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.671, allocations: 71.09 kB / 1.744 GB, free: 8.086 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001373/1.672, allocations: 0.9884 MB / 1.745 GB, free: 7.559 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.01e-07/1.672, allocations: 0 / 1.745 GB, free: 7.559 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.0023/1.675, allocations: 0.9402 MB / 1.746 GB, free: 7.352 MB / 1.326 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.006654/1.681, allocations: 4.619 MB / 1.75 GB, free: 4.359 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004057/1.685, allocations: 2.228 MB / 1.752 GB, free: 2.164 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.685, allocations: 0 / 1.752 GB, free: 2.164 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/1.687, allocations: 1.15 MB / 1.754 GB, free: 1.059 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006021/1.693, allocations: 1.28 MB / 1.755 GB, free: 15.8 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03126/1.725, allocations: 18.64 MB / 1.773 GB, free: 12.76 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.726, allocations: 1.971 MB / 1.775 GB, free: 10.75 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002581/1.729, allocations: 0.721 MB / 1.776 GB, free: 10.03 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.731, allocations: 1.093 MB / 1.777 GB, free: 8.938 MB / 1.357 GB Notification: Performance of SimCode: time 7.32e-07/1.731, allocations: 0 / 1.777 GB, free: 8.938 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/1.857, allocations: 66.03 MB / 1.841 GB, free: 7.727 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/14.18, allocations: 0 / 1.841 GB, free: 7.727 MB / 1.42 GB " [Timeout remaining time 286] (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: 20.726685452042148]