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.001365/0.001365, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0015/0.0015, allocations: 216.2 kB / 22.25 MB, free: 5.125 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.984 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.045/3.045, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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.001936/0.001936, allocations: 73.91 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3414, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.096/1.437, allocations: 299.8 MB / 1.619 GB, free: 4.07 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02953/1.467, allocations: 23.27 MB / 1.641 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004607/1.471, allocations: 101.2 kB / 1.642 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005645/1.477, allocations: 1.889 MB / 1.643 GB, free: 3.977 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01793/1.495, allocations: 6.437 MB / 1.65 GB, free: 3.746 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008649/1.504, allocations: 2.994 MB / 1.653 GB, free: 3.656 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01184/1.515, allocations: 7.432 MB / 1.66 GB, free: 3.637 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004563/1.52, allocations: 2.162 MB / 1.662 GB, free: 3.484 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/1.53, allocations: 3.245 MB / 1.665 GB, free: 3.477 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006408/1.536, allocations: 2.862 MB / 1.668 GB, free: 3.465 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001014/1.537, allocations: 344 kB / 1.668 GB, free: 3.465 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/1.551, allocations: 6.425 MB / 1.675 GB, free: 3.406 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002916/1.554, allocations: 1.496 MB / 1.676 GB, free: 3.406 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00448/1.559, allocations: 1.906 MB / 1.678 GB, free: 3.008 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01582/1.574, allocations: 6.961 MB / 1.685 GB, free: 2.23 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.574, allocations: 0 / 1.685 GB, free: 2.23 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.683e-06/1.574, allocations: 0.8438 kB / 1.685 GB, free: 2.23 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000126/1.575, allocations: 0 / 1.685 GB, free: 2.23 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.01018/1.585, allocations: 4.131 MB / 1.689 GB, free: 16.54 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.585, allocations: 10.81 kB / 1.689 GB, free: 16.54 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000461/1.585, allocations: 391.3 kB / 1.689 GB, free: 16.49 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/1.591, allocations: 0.8658 MB / 1.69 GB, free: 16.3 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/1.596, allocations: 1.777 MB / 1.692 GB, free: 15.83 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.596, allocations: 213.5 kB / 1.692 GB, free: 15.82 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/1.597, allocations: 274.5 kB / 1.692 GB, free: 15.82 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006421/1.603, allocations: 3.597 MB / 1.696 GB, free: 15.46 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.874e-05/1.603, allocations: 9.422 kB / 1.696 GB, free: 15.46 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/1.603, allocations: 116.6 kB / 1.696 GB, free: 15.46 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/1.603, allocations: 147.4 kB / 1.696 GB, free: 15.45 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00572/1.609, allocations: 3.288 MB / 1.699 GB, free: 15.42 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.02217/1.631, allocations: 14.09 MB / 1.713 GB, free: 7.152 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/1.635, allocations: 2.076 MB / 1.715 GB, free: 7.086 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.637, allocations: 1.241 MB / 1.716 GB, free: 7.07 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/1.638, allocations: 190.8 kB / 1.716 GB, free: 7.062 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/1.64, allocations: 1.224 MB / 1.717 GB, free: 6.98 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.208e-06/1.64, allocations: 0 / 1.717 GB, free: 6.98 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005512/1.645, allocations: 3.181 MB / 1.721 GB, free: 6.777 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/1.645, allocations: 79.77 kB / 1.721 GB, free: 6.711 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/1.648, allocations: 1.452 MB / 1.722 GB, free: 6.543 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/1.648, allocations: 67.39 kB / 1.722 GB, free: 6.512 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009714/1.649, allocations: 1.136 MB / 1.723 GB, free: 6.031 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007631/1.649, allocations: 0.7723 MB / 1.724 GB, free: 5.523 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/1.65, allocations: 361.3 kB / 1.724 GB, free: 5.492 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.65, allocations: 305.1 kB / 1.725 GB, free: 5.191 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/1.652, allocations: 0.9162 MB / 1.726 GB, free: 5.18 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/1.653, allocations: 1.261 MB / 1.727 GB, free: 4.852 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/1.657, allocations: 2.322 MB / 1.729 GB, free: 4.086 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.657, allocations: 1.375 kB / 1.729 GB, free: 4.086 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004524/1.661, allocations: 2.612 MB / 1.732 GB, free: 3.066 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/1.661, allocations: 33.89 kB / 1.732 GB, free: 3.035 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.661, allocations: 12.44 kB / 1.732 GB, free: 3.031 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/1.661, allocations: 15.91 kB / 1.732 GB, free: 3.031 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.663, allocations: 464.6 kB / 1.732 GB, free: 3.016 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.783e-05/1.663, allocations: 20.44 kB / 1.732 GB, free: 3.016 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/1.665, allocations: 197.2 kB / 1.732 GB, free: 2.879 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/1.665, allocations: 83.64 kB / 1.732 GB, free: 2.859 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.001445/1.667, allocations: 0.6844 MB / 1.733 GB, free: 2.5 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006574/1.668, allocations: 227.6 kB / 1.733 GB, free: 2.383 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/1.672, allocations: 2.523 MB / 1.736 GB, free: 1.293 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.672, allocations: 21.53 kB / 1.736 GB, free: 1.293 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.672, allocations: 0 / 1.736 GB, free: 1.293 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003412/1.675, allocations: 2.332 MB / 1.738 GB, free: 15.97 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/1.686, allocations: 5.517 MB / 1.743 GB, free: 12.66 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.686, allocations: 6.953 kB / 1.743 GB, free: 12.66 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.688, allocations: 481.2 kB / 1.744 GB, free: 12.57 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.974e-05/1.688, allocations: 8.094 kB / 1.744 GB, free: 12.57 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/1.688, allocations: 52.3 kB / 1.744 GB, free: 12.54 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/1.688, allocations: 12.39 kB / 1.744 GB, free: 12.54 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.688, allocations: 6.938 kB / 1.744 GB, free: 12.54 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/1.694, allocations: 3.812 MB / 1.748 GB, free: 10.49 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.696, allocations: 482.2 kB / 1.748 GB, free: 10.17 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/1.697, allocations: 48.98 kB / 1.748 GB, free: 10.13 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.698, allocations: 60.89 kB / 1.748 GB, free: 10.1 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/1.699, allocations: 155.9 kB / 1.748 GB, free: 10 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.699, allocations: 69.55 kB / 1.748 GB, free: 9.98 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001809/1.701, allocations: 0.9909 MB / 1.749 GB, free: 9.449 MB / 1.326 GB Notification: Performance of sort global known variables: time 9.1e-08/1.701, allocations: 0 / 1.749 GB, free: 9.449 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002901/1.704, allocations: 0.9458 MB / 1.75 GB, free: 9.238 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.007126/1.711, allocations: 4.626 MB / 1.755 GB, free: 6.426 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004316/1.715, allocations: 2.22 MB / 1.757 GB, free: 4.238 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.715, allocations: 4 kB / 1.757 GB, free: 4.234 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/1.717, allocations: 1.147 MB / 1.758 GB, free: 3.133 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006185/1.723, allocations: 1.291 MB / 1.759 GB, free: 1.863 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/1.758, allocations: 18.63 MB / 1.778 GB, free: 14.85 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/1.761, allocations: 1.971 MB / 1.78 GB, free: 12.84 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002973/1.764, allocations: 0.7249 MB / 1.78 GB, free: 12.12 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/1.765, allocations: 1.097 MB / 1.781 GB, free: 11.02 MB / 1.357 GB Notification: Performance of SimCode: time 1.333e-06/1.765, allocations: 0 / 1.781 GB, free: 11.02 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/1.902, allocations: 67.67 MB / 1.847 GB, free: 8.219 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.53, allocations: 11.38 kB / 1.847 GB, free: 8.211 MB / 1.42 GB " [Timeout remaining time 282] (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: 24.2296249109786]