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.002166/0.002166, 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.0031/0.0031, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.709/1.709, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.216/3.216, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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: 71.73 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.332, allocations: 180.2 MB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.089/1.421, allocations: 299.9 MB / 1.646 GB, free: 4.027 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03037/1.451, allocations: 23.44 MB / 1.669 GB, free: 3.859 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004221/1.455, allocations: 100.7 kB / 1.669 GB, free: 3.859 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005041/1.46, allocations: 1.882 MB / 1.671 GB, free: 3.832 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/1.476, allocations: 6.515 MB / 1.677 GB, free: 3.574 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/1.486, allocations: 3.006 MB / 1.68 GB, free: 3.48 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01666/1.503, allocations: 7.49 MB / 1.687 GB, free: 3.457 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005329/1.508, allocations: 2.179 MB / 1.689 GB, free: 3.305 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009216/1.518, allocations: 3.275 MB / 1.693 GB, free: 3.293 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005687/1.523, allocations: 2.882 MB / 1.695 GB, free: 3.074 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0008693/1.524, allocations: 347.4 kB / 1.696 GB, free: 3.074 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/1.537, allocations: 6.477 MB / 1.702 GB, free: 3.016 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002575/1.539, allocations: 1.516 MB / 1.703 GB, free: 2.848 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003579/1.543, allocations: 1.916 MB / 1.705 GB, free: 2.375 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/1.558, allocations: 7.036 MB / 1.712 GB, free: 1.59 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.558, allocations: 1 kB / 1.712 GB, free: 1.59 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.244e-06/1.558, allocations: 0 / 1.712 GB, free: 1.59 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001568/1.558, allocations: 1 kB / 1.712 GB, free: 1.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.01263/1.571, allocations: 4.158 MB / 1.716 GB, free: 15.86 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.571, allocations: 6.875 kB / 1.716 GB, free: 15.86 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007059/1.571, allocations: 394.9 kB / 1.717 GB, free: 15.81 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008302/1.58, allocations: 1.245 MB / 1.718 GB, free: 15.6 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/1.585, allocations: 1.808 MB / 1.72 GB, free: 15.11 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/1.585, allocations: 209.4 kB / 1.72 GB, free: 15.11 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009533/1.586, allocations: 285.9 kB / 1.72 GB, free: 15.1 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007728/1.594, allocations: 3.777 MB / 1.724 GB, free: 14.73 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/1.594, allocations: 5.344 kB / 1.724 GB, free: 14.73 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/1.594, allocations: 114.5 kB / 1.724 GB, free: 14.73 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/1.594, allocations: 152.3 kB / 1.724 GB, free: 14.72 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007037/1.601, allocations: 3.583 MB / 1.728 GB, free: 14.68 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.02201/1.623, allocations: 14.52 MB / 1.742 GB, free: 4.262 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/1.629, allocations: 2.405 MB / 1.744 GB, free: 3.012 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/1.631, allocations: 1.394 MB / 1.745 GB, free: 2.316 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/1.632, allocations: 66.41 kB / 1.745 GB, free: 2.301 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002771/1.634, allocations: 1.405 MB / 1.747 GB, free: 1.477 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.839e-06/1.634, allocations: 0 / 1.747 GB, free: 1.477 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.008105/1.643, allocations: 3.615 MB / 1.75 GB, free: 15.71 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/1.643, allocations: 75.66 kB / 1.75 GB, free: 15.64 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/1.646, allocations: 1.471 MB / 1.752 GB, free: 14.87 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0003024/1.646, allocations: 64.42 kB / 1.752 GB, free: 14.81 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.647, allocations: 1.142 MB / 1.753 GB, free: 13.81 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009768/1.648, allocations: 0.7737 MB / 1.754 GB, free: 13.14 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007709/1.649, allocations: 373.1 kB / 1.754 GB, free: 12.93 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.649, allocations: 308 kB / 1.754 GB, free: 12.63 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/1.651, allocations: 1.058 MB / 1.756 GB, free: 12.09 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/1.654, allocations: 1.405 MB / 1.757 GB, free: 11.16 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/1.658, allocations: 2.589 MB / 1.759 GB, free: 9.66 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/1.658, allocations: 2.906 kB / 1.759 GB, free: 9.66 MB / 1.326 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005697/1.664, allocations: 2.895 MB / 1.762 GB, free: 8.238 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/1.664, allocations: 43.39 kB / 1.762 GB, free: 8.203 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.664, allocations: 5.562 kB / 1.762 GB, free: 8.203 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/1.664, allocations: 20.2 kB / 1.762 GB, free: 8.199 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.667, allocations: 0.497 MB / 1.763 GB, free: 8.098 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/1.667, allocations: 21.53 kB / 1.763 GB, free: 8.098 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.669, allocations: 231.2 kB / 1.763 GB, free: 7.938 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/1.669, allocations: 79.7 kB / 1.763 GB, free: 7.918 MB / 1.326 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.001751/1.671, allocations: 0.6934 MB / 1.764 GB, free: 7.473 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/1.672, allocations: 229 kB / 1.764 GB, free: 7.355 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/1.678, allocations: 2.8 MB / 1.767 GB, free: 5.801 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/1.678, allocations: 25.75 kB / 1.767 GB, free: 5.797 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.678, allocations: 0 / 1.767 GB, free: 5.797 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004592/1.682, allocations: 2.628 MB / 1.769 GB, free: 4.316 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.694, allocations: 6.051 MB / 1.775 GB, free: 14.93 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.694, allocations: 4 kB / 1.775 GB, free: 14.93 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/1.697, allocations: 0.5042 MB / 1.776 GB, free: 14.44 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/1.697, allocations: 16 kB / 1.776 GB, free: 14.43 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.697, allocations: 58.59 kB / 1.776 GB, free: 14.37 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/1.697, allocations: 12 kB / 1.776 GB, free: 14.36 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.697, allocations: 7.984 kB / 1.776 GB, free: 14.35 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008348/1.705, allocations: 4.315 MB / 1.78 GB, free: 9.992 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/1.707, allocations: 0.4981 MB / 1.781 GB, free: 9.492 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/1.707, allocations: 48 kB / 1.781 GB, free: 9.445 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.709, allocations: 97.22 kB / 1.781 GB, free: 9.352 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.709, allocations: 160.2 kB / 1.781 GB, free: 9.199 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.71, allocations: 67.97 kB / 1.781 GB, free: 9.133 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.001518/1.711, allocations: 1.003 MB / 1.782 GB, free: 8.137 MB / 1.342 GB Notification: Performance of sort global known variables: time 8e-08/1.711, allocations: 0 / 1.782 GB, free: 8.137 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.002367/1.713, allocations: 0.9591 MB / 1.783 GB, free: 7.176 MB / 1.342 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.008865/1.722, allocations: 5.103 MB / 1.788 GB, free: 2.051 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.005375/1.728, allocations: 2.544 MB / 1.79 GB, free: 15.54 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.728, allocations: 0 / 1.79 GB, free: 15.54 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.73, allocations: 1.303 MB / 1.792 GB, free: 14.28 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/1.736, allocations: 1.312 MB / 1.793 GB, free: 12.99 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/1.773, allocations: 19.76 MB / 1.812 GB, free: 8.82 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.775, allocations: 1.972 MB / 1.814 GB, free: 6.812 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.003166/1.778, allocations: 0.7252 MB / 1.815 GB, free: 6.082 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/1.78, allocations: 1.108 MB / 1.816 GB, free: 4.973 MB / 1.373 GB Notification: Performance of SimCode: time 8.21e-07/1.78, allocations: 4 kB / 1.816 GB, free: 4.969 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.92, allocations: 70.63 MB / 1.885 GB, free: 15.06 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/18.22, allocations: 7.797 kB / 1.885 GB, free: 15.05 MB / 1.451 GB " [Timeout remaining time 282] (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/jenkins1/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: 25.52212797384709]