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.001753/0.001753, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002153/0.002153, allocations: 212.6 kB / 22.25 MB, free: 4.859 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 2.191/2.191, allocations: 230.6 MB / 256 MB, free: 7.773 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.49/3.49, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002144/0.002144, allocations: 67.69 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.073/1.425, allocations: 262.3 MB / 1.62 GB, free: 4.074 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03012/1.455, allocations: 21.51 MB / 1.641 GB, free: 4.004 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/1.459, allocations: 102 kB / 1.641 GB, free: 4.004 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/1.463, allocations: 1.702 MB / 1.642 GB, free: 3.977 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01628/1.479, allocations: 6.453 MB / 1.649 GB, free: 3.742 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008779/1.488, allocations: 2.973 MB / 1.651 GB, free: 3.668 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01135/1.5, allocations: 7.437 MB / 1.659 GB, free: 3.648 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005141/1.505, allocations: 2.152 MB / 1.661 GB, free: 3.496 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00883/1.513, allocations: 3.29 MB / 1.664 GB, free: 3.488 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00611/1.52, allocations: 2.742 MB / 1.667 GB, free: 3.48 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001581/1.521, allocations: 348.2 kB / 1.667 GB, free: 3.48 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/1.535, allocations: 4.942 MB / 1.672 GB, free: 3.422 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003523/1.539, allocations: 1.509 MB / 1.673 GB, free: 3.422 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005642/1.544, allocations: 1.623 MB / 1.675 GB, free: 3.156 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.56, allocations: 6.852 MB / 1.682 GB, free: 2.371 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.56, allocations: 0 / 1.682 GB, free: 2.371 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.915e-06/1.56, allocations: 0.75 kB / 1.682 GB, free: 2.371 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000182/1.561, allocations: 0 / 1.682 GB, free: 2.371 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.01258/1.573, allocations: 4.147 MB / 1.686 GB, free: 0.668 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.573, allocations: 8.469 kB / 1.686 GB, free: 0.668 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000568/1.574, allocations: 392.2 kB / 1.686 GB, free: 0.6172 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008336/1.582, allocations: 1.241 MB / 1.687 GB, free: 440 kB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/1.587, allocations: 1.817 MB / 1.689 GB, free: 15.95 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/1.587, allocations: 210.6 kB / 1.689 GB, free: 15.94 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006968/1.588, allocations: 276.2 kB / 1.69 GB, free: 15.93 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007259/1.595, allocations: 4.115 MB / 1.694 GB, free: 15.17 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/1.595, allocations: 6.125 kB / 1.694 GB, free: 15.17 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/1.595, allocations: 116.4 kB / 1.694 GB, free: 15.17 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/1.595, allocations: 149.2 kB / 1.694 GB, free: 15.16 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006786/1.602, allocations: 3.564 MB / 1.697 GB, free: 15.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.01661/1.619, allocations: 9.391 MB / 1.706 GB, free: 12.11 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/1.623, allocations: 2.382 MB / 1.709 GB, free: 12.05 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/1.626, allocations: 1.396 MB / 1.71 GB, free: 12.03 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/1.626, allocations: 59.45 kB / 1.71 GB, free: 12.03 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002601/1.629, allocations: 1.729 MB / 1.712 GB, free: 11.55 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5e-06/1.629, allocations: 2.719 kB / 1.712 GB, free: 11.55 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.007045/1.636, allocations: 3.616 MB / 1.715 GB, free: 11.33 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.636, allocations: 73.84 kB / 1.716 GB, free: 11.27 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.638, allocations: 1.487 MB / 1.717 GB, free: 10.84 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002254/1.638, allocations: 65.08 kB / 1.717 GB, free: 10.78 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.639, allocations: 1.151 MB / 1.718 GB, free: 9.902 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/1.64, allocations: 0.7701 MB / 1.719 GB, free: 9.297 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006476/1.641, allocations: 368.2 kB / 1.719 GB, free: 9.129 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.641, allocations: 305.1 kB / 1.72 GB, free: 8.828 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/1.643, allocations: 1.087 MB / 1.721 GB, free: 8.422 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/1.646, allocations: 1.561 MB / 1.722 GB, free: 7.504 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/1.65, allocations: 2.583 MB / 1.725 GB, free: 6.25 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.65, allocations: 2.906 kB / 1.725 GB, free: 6.25 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005928/1.656, allocations: 2.925 MB / 1.728 GB, free: 5.109 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/1.656, allocations: 40.42 kB / 1.728 GB, free: 5.074 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.656, allocations: 9.234 kB / 1.728 GB, free: 5.074 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/1.656, allocations: 16.72 kB / 1.728 GB, free: 5.074 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/1.659, allocations: 0.495 MB / 1.728 GB, free: 5.055 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/1.659, allocations: 26.28 kB / 1.728 GB, free: 5.051 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/1.661, allocations: 229.5 kB / 1.728 GB, free: 4.918 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/1.661, allocations: 79.78 kB / 1.728 GB, free: 4.902 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.001454/1.663, allocations: 0.6866 MB / 1.729 GB, free: 4.543 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005463/1.663, allocations: 227.2 kB / 1.729 GB, free: 4.426 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/1.669, allocations: 2.809 MB / 1.732 GB, free: 3.312 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.669, allocations: 21.28 kB / 1.732 GB, free: 3.312 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.669, allocations: 0 / 1.732 GB, free: 3.312 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004731/1.674, allocations: 2.629 MB / 1.735 GB, free: 2.121 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.685, allocations: 5.651 MB / 1.74 GB, free: 15.97 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.685, allocations: 9.625 kB / 1.74 GB, free: 15.97 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.688, allocations: 0.5057 MB / 1.741 GB, free: 15.89 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.77e-05/1.688, allocations: 11.25 kB / 1.741 GB, free: 15.89 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/1.688, allocations: 52.53 kB / 1.741 GB, free: 15.86 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.688, allocations: 11.59 kB / 1.741 GB, free: 15.86 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.688, allocations: 5.656 kB / 1.741 GB, free: 15.86 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008208/1.696, allocations: 4.323 MB / 1.745 GB, free: 13.54 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.698, allocations: 0.4988 MB / 1.745 GB, free: 13.2 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004125/1.698, allocations: 49.8 kB / 1.745 GB, free: 13.16 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.7, allocations: 97.72 kB / 1.746 GB, free: 13.11 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.7, allocations: 162 kB / 1.746 GB, free: 13 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.701, allocations: 72.25 kB / 1.746 GB, free: 12.98 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001429/1.702, allocations: 1.004 MB / 1.747 GB, free: 12.44 MB / 1.326 GB Notification: Performance of sort global known variables: time 8e-08/1.702, allocations: 0 / 1.747 GB, free: 12.44 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002241/1.704, allocations: 0.9546 MB / 1.748 GB, free: 12.24 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.008954/1.713, allocations: 5.11 MB / 1.753 GB, free: 9.301 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.00531/1.719, allocations: 2.57 MB / 1.755 GB, free: 8.078 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.719, allocations: 0 / 1.755 GB, free: 8.078 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/1.721, allocations: 1.303 MB / 1.756 GB, free: 7.516 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006198/1.727, allocations: 1.306 MB / 1.758 GB, free: 6.809 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03991/1.767, allocations: 19.85 MB / 1.777 GB, free: 5.188 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/1.769, allocations: 1.411 MB / 1.778 GB, free: 3.734 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003155/1.772, allocations: 0.733 MB / 1.779 GB, free: 2.996 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.774, allocations: 1.108 MB / 1.78 GB, free: 1.887 MB / 1.342 GB Notification: Performance of SimCode: time 1.152e-06/1.774, allocations: 0 / 1.78 GB, free: 1.887 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/1.913, allocations: 75.32 MB / 1.854 GB, free: 7.828 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/16.12, allocations: 7.938 kB / 1.854 GB, free: 7.82 MB / 1.42 GB " [Timeout remaining time 284] (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: 24.196727284695953]