Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001244/0.001244, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001416/0.001416, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.144/3.144, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 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.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_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.002606/0.002606, allocations: 68.19 kB / 1.171 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3672, allocations: 179 MB / 1.345 GB, free: 312 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1975/0.5647, allocations: 151.6 MB / 1.493 GB, free: 8.094 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.5706, allocations: 4.758 MB / 1.498 GB, free: 3.32 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.5709, allocations: 15.88 kB / 1.498 GB, free: 3.305 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.5715, allocations: 158.9 kB / 1.498 GB, free: 3.148 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.5719, allocations: 95.44 kB / 1.498 GB, free: 3.055 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.572, allocations: 71.78 kB / 1.498 GB, free: 2.984 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.5724, allocations: 298.6 kB / 1.499 GB, free: 2.691 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.5727, allocations: 112.4 kB / 1.499 GB, free: 2.582 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.5729, allocations: 115.6 kB / 1.499 GB, free: 2.469 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.5731, allocations: 159.4 kB / 1.499 GB, free: 2.312 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.5732, allocations: 19.98 kB / 1.499 GB, free: 2.293 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.287e-05/0.5732, allocations: 16 kB / 1.499 GB, free: 2.277 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.5733, allocations: 67.77 kB / 1.499 GB, free: 2.211 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.5734, allocations: 99.48 kB / 1.499 GB, free: 2.113 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.5737, allocations: 238.9 kB / 1.499 GB, free: 1.879 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5737, allocations: 0 / 1.499 GB, free: 1.879 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5737, allocations: 0 / 1.499 GB, free: 1.879 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.5737, allocations: 0 / 1.499 GB, free: 1.879 MB / 1.186 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.0005161/0.5742, allocations: 429.7 kB / 1.5 GB, free: 1.43 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5743, allocations: 8.031 kB / 1.5 GB, free: 1.422 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.298e-05/0.5743, allocations: 8.625 kB / 1.5 GB, free: 1.414 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.5743, allocations: 58.67 kB / 1.5 GB, free: 1.348 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.5744, allocations: 28.8 kB / 1.5 GB, free: 1.32 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.5748, allocations: 202.1 kB / 1.5 GB, free: 1.098 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5748, allocations: 16.81 kB / 1.5 GB, free: 1.082 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.5748, allocations: 20.12 kB / 1.5 GB, free: 1.062 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.5753, allocations: 308.9 kB / 1.501 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5753, allocations: 0 / 1.501 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.5753, allocations: 8 kB / 1.501 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5753, allocations: 15.92 kB / 1.501 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.5755, allocations: 123.7 kB / 1.501 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.577, allocations: 1.931 MB / 1.503 GB, free: 14.53 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.5771, allocations: 173.1 kB / 1.503 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.5771, allocations: 84.17 kB / 1.503 GB, free: 14.26 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.5772, allocations: 75.28 kB / 1.503 GB, free: 14.19 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.5772, allocations: 105.8 kB / 1.503 GB, free: 14.07 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.5772, allocations: 0 / 1.503 GB, free: 14.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.5773, allocations: 61.42 kB / 1.503 GB, free: 14.01 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.5774, allocations: 130.7 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.5778, allocations: 328.5 kB / 1.503 GB, free: 13.54 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5778, allocations: 25.7 kB / 1.503 GB, free: 13.51 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5779, allocations: 171.8 kB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-06/0.5779, allocations: 0 / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.578, allocations: 21.72 kB / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5781, allocations: 334.8 kB / 1.504 GB, free: 12.97 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.5781, allocations: 4 kB / 1.504 GB, free: 12.97 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.5782, allocations: 62.86 kB / 1.504 GB, free: 12.88 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.5783, allocations: 70.75 kB / 1.504 GB, free: 12.79 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5783, allocations: 0 / 1.504 GB, free: 12.79 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001932/0.5785, allocations: 105.6 kB / 1.504 GB, free: 12.68 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5785, allocations: 11.94 kB / 1.504 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.5785, allocations: 4 kB / 1.504 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5785, allocations: 0 / 1.504 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.5786, allocations: 16 kB / 1.504 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5786, allocations: 7.938 kB / 1.504 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.5787, allocations: 27.73 kB / 1.504 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.5787, allocations: 4 kB / 1.504 GB, free: 12.61 MB / 1.201 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.0001509/0.5788, allocations: 213 kB / 1.504 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.5789, allocations: 136.8 kB / 1.505 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.579, allocations: 129.9 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-05/0.5791, allocations: 180.3 kB / 1.505 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.729e-05/0.5792, allocations: 188.2 kB / 1.505 GB, free: 11.74 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-05/0.5793, allocations: 176.3 kB / 1.505 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.5796, allocations: 448.2 kB / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-05/0.5797, allocations: 112.9 kB / 1.506 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.5797, allocations: 101 kB / 1.506 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.363e-05/0.5798, allocations: 184.1 kB / 1.506 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/0.5799, allocations: 180.2 kB / 1.506 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.268e-05/0.58, allocations: 188.3 kB / 1.506 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.256e-05/0.58, allocations: 184.2 kB / 1.507 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.5802, allocations: 319.6 kB / 1.507 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/0.5803, allocations: 132.8 kB / 1.507 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5804, allocations: 188.1 kB / 1.507 GB, free: 9.434 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5805, allocations: 109 kB / 1.507 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.5806, allocations: 176.3 kB / 1.507 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.5807, allocations: 108.9 kB / 1.508 GB, free: 9.027 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002517/0.5809, allocations: 235 kB / 1.508 GB, free: 8.797 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5809, allocations: 0 / 1.508 GB, free: 8.797 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002749/0.5812, allocations: 35.89 kB / 1.508 GB, free: 8.762 MB / 1.201 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.0004813/0.5817, allocations: 0.8242 MB / 1.509 GB, free: 7.91 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.5818, allocations: 27.88 kB / 1.509 GB, free: 7.883 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5818, allocations: 0 / 1.509 GB, free: 7.883 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.5818, allocations: 0 / 1.509 GB, free: 7.883 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.5826, allocations: 0.5295 MB / 1.509 GB, free: 7.352 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.5853, allocations: 2.514 MB / 1.512 GB, free: 4.723 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.5857, allocations: 0.744 MB / 1.512 GB, free: 3.953 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.5858, allocations: 30.28 kB / 1.512 GB, free: 3.918 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5859, allocations: 59.42 kB / 1.512 GB, free: 3.859 MB / 1.201 GB Notification: Performance of SimCode: time 6.71e-07/0.5859, allocations: 0 / 1.512 GB, free: 3.859 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.6127, allocations: 4.978 MB / 1.517 GB, free: 15.05 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.13, allocations: 5.781 kB / 1.517 GB, free: 15.05 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.833476045983844]