Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001954/0.001954, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001987/0.001987, allocations: 219.2 kB / 23.03 MB, free: 4.945 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="cs",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.002002/0.002002, allocations: 65.86 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1685/0.5295, allocations: 130.7 MB / 1.412 GB, free: 7.477 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005132/0.5346, allocations: 4.345 MB / 1.416 GB, free: 3.121 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.5349, allocations: 19.81 kB / 1.416 GB, free: 3.102 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.5354, allocations: 170.9 kB / 1.416 GB, free: 2.934 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.5357, allocations: 79.45 kB / 1.416 GB, free: 2.855 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.5359, allocations: 71.83 kB / 1.416 GB, free: 2.785 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.5362, allocations: 302.8 kB / 1.417 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.5365, allocations: 104.2 kB / 1.417 GB, free: 2.383 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.5367, allocations: 115.6 kB / 1.417 GB, free: 2.27 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.5369, allocations: 163.4 kB / 1.417 GB, free: 2.109 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.5369, allocations: 16 kB / 1.417 GB, free: 2.094 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 3.587e-05/0.537, allocations: 16 kB / 1.417 GB, free: 2.078 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.5371, allocations: 63.77 kB / 1.417 GB, free: 2.016 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.5372, allocations: 79.61 kB / 1.417 GB, free: 1.938 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.5375, allocations: 240.3 kB / 1.417 GB, free: 1.703 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5375, allocations: 0 / 1.417 GB, free: 1.703 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5375, allocations: 4 kB / 1.417 GB, free: 1.699 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5375, allocations: 0 / 1.417 GB, free: 1.699 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005149/0.538, allocations: 429.6 kB / 1.418 GB, free: 1.25 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5381, allocations: 16.02 kB / 1.418 GB, free: 1.234 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.303e-05/0.5381, allocations: 4.625 kB / 1.418 GB, free: 1.23 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.5381, allocations: 62.67 kB / 1.418 GB, free: 1.16 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.5382, allocations: 24.8 kB / 1.418 GB, free: 1.137 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.5386, allocations: 202.1 kB / 1.418 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.5386, allocations: 20.81 kB / 1.418 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.5386, allocations: 24.12 kB / 1.418 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.539, allocations: 300.9 kB / 1.418 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5391, allocations: 0 / 1.418 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.5391, allocations: 12 kB / 1.418 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5391, allocations: 8 kB / 1.418 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.5393, allocations: 123.7 kB / 1.419 GB, free: 392 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.5407, allocations: 1.896 MB / 1.42 GB, free: 14.39 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.94e-05/0.5408, allocations: 173.1 kB / 1.421 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.5408, allocations: 80.14 kB / 1.421 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.5409, allocations: 79.28 kB / 1.421 GB, free: 14.05 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.5409, allocations: 105.8 kB / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5409, allocations: 0 / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 9.565e-05/0.541, allocations: 57.44 kB / 1.421 GB, free: 13.87 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.5411, allocations: 126.7 kB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.5415, allocations: 332.5 kB / 1.421 GB, free: 13.4 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.5415, allocations: 25.7 kB / 1.421 GB, free: 13.37 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5416, allocations: 171.8 kB / 1.421 GB, free: 13.2 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.5416, allocations: 0 / 1.421 GB, free: 13.2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.5417, allocations: 25.67 kB / 1.422 GB, free: 13.16 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5418, allocations: 334.8 kB / 1.422 GB, free: 12.83 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.5418, allocations: 11.98 kB / 1.422 GB, free: 12.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.5419, allocations: 54.86 kB / 1.422 GB, free: 12.74 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/0.542, allocations: 78.73 kB / 1.422 GB, free: 12.64 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.542, allocations: 0 / 1.422 GB, free: 12.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001827/0.5422, allocations: 101.4 kB / 1.422 GB, free: 12.53 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5422, allocations: 7.938 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5422, allocations: 4.25 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5422, allocations: 7.984 kB / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.5423, allocations: 19.92 kB / 1.422 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5423, allocations: 7.938 kB / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.5424, allocations: 31.78 kB / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.5424, allocations: 4 kB / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001424/0.5425, allocations: 209.1 kB / 1.422 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.5426, allocations: 132.7 kB / 1.422 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.5427, allocations: 129.9 kB / 1.423 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.678e-05/0.5428, allocations: 180.3 kB / 1.423 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.635e-05/0.5429, allocations: 180.2 kB / 1.423 GB, free: 11.6 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.929e-05/0.5429, allocations: 188.2 kB / 1.423 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.5433, allocations: 432.2 kB / 1.424 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.5433, allocations: 104.9 kB / 1.424 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.5434, allocations: 109.1 kB / 1.424 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.778e-05/0.5434, allocations: 184.2 kB / 1.424 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.5435, allocations: 184.3 kB / 1.424 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.506e-05/0.5436, allocations: 180.3 kB / 1.424 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.968e-05/0.5437, allocations: 180.2 kB / 1.424 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.5438, allocations: 331.6 kB / 1.425 GB, free: 9.621 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.5439, allocations: 128.8 kB / 1.425 GB, free: 9.488 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.544, allocations: 184.1 kB / 1.425 GB, free: 9.301 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5441, allocations: 109 kB / 1.425 GB, free: 9.188 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.5442, allocations: 180.3 kB / 1.425 GB, free: 9.004 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.5443, allocations: 104.9 kB / 1.425 GB, free: 8.895 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002453/0.5445, allocations: 239 kB / 1.426 GB, free: 8.66 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.5445, allocations: 0 / 1.426 GB, free: 8.66 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002634/0.5448, allocations: 31.94 kB / 1.426 GB, free: 8.629 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004615/0.5452, allocations: 0.8281 MB / 1.427 GB, free: 7.773 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.5453, allocations: 28.3 kB / 1.427 GB, free: 7.746 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5453, allocations: 3.938 kB / 1.427 GB, free: 7.742 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-06/0.5453, allocations: 4 kB / 1.427 GB, free: 7.738 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.5461, allocations: 0.5182 MB / 1.427 GB, free: 7.219 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.5488, allocations: 2.506 MB / 1.429 GB, free: 4.59 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.5489, allocations: 137.6 kB / 1.43 GB, free: 4.438 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 9.467e-05/0.549, allocations: 30.27 kB / 1.43 GB, free: 4.406 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.5491, allocations: 67.34 kB / 1.43 GB, free: 4.34 MB / 1.123 GB Notification: Performance of SimCode: time 4.11e-07/0.5491, allocations: 0 / 1.43 GB, free: 4.34 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.5764, allocations: 5.253 MB / 1.435 GB, free: 15.33 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.18, allocations: 4.062 kB / 1.435 GB, free: 15.32 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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: 19.03865980997216]