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.001687/0.001687, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.002052/0.002052, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.805/2.805, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 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.002035/0.002035, allocations: 69.61 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8879/0.8899, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1904/1.08, allocations: 151.5 MB / 1.427 GB, free: 4.523 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005576/1.086, allocations: 4.711 MB / 1.431 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/1.086, allocations: 11.94 kB / 1.432 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005224/1.087, allocations: 166.8 kB / 1.432 GB, free: 15.62 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003368/1.087, allocations: 87.44 kB / 1.432 GB, free: 15.53 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/1.087, allocations: 63.92 kB / 1.432 GB, free: 15.47 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/1.088, allocations: 302.8 kB / 1.432 GB, free: 15.17 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/1.088, allocations: 103.7 kB / 1.432 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/1.088, allocations: 119.5 kB / 1.432 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/1.088, allocations: 155.4 kB / 1.432 GB, free: 14.81 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/1.088, allocations: 20 kB / 1.432 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/1.088, allocations: 16 kB / 1.432 GB, free: 14.77 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/1.089, allocations: 67.81 kB / 1.433 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/1.089, allocations: 103.4 kB / 1.433 GB, free: 14.61 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/1.089, allocations: 238.8 kB / 1.433 GB, free: 14.37 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/1.089, allocations: 7.984 kB / 1.433 GB, free: 14.36 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.473e-06/1.089, allocations: 0 / 1.433 GB, free: 14.36 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.089, allocations: 0 / 1.433 GB, free: 14.36 MB / 1.123 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.0005581/1.09, allocations: 494.9 kB / 1.433 GB, free: 13.83 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.09, allocations: 12.03 kB / 1.433 GB, free: 13.82 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.07e-05/1.09, allocations: 8.625 kB / 1.433 GB, free: 13.81 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/1.09, allocations: 54.73 kB / 1.433 GB, free: 13.75 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/1.09, allocations: 24.8 kB / 1.433 GB, free: 13.73 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/1.09, allocations: 277.3 kB / 1.434 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.09, allocations: 20.81 kB / 1.434 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/1.09, allocations: 24.12 kB / 1.434 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/1.091, allocations: 308.8 kB / 1.434 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.091, allocations: 3.938 kB / 1.434 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/1.091, allocations: 12 kB / 1.434 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.091, allocations: 4 kB / 1.434 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/1.091, allocations: 123.8 kB / 1.434 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/1.092, allocations: 1.977 MB / 1.436 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/1.092, allocations: 169.1 kB / 1.436 GB, free: 10.62 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/1.092, allocations: 80.14 kB / 1.436 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/1.092, allocations: 79.22 kB / 1.436 GB, free: 10.46 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/1.093, allocations: 109.8 kB / 1.437 GB, free: 10.34 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.041e-06/1.093, allocations: 0 / 1.437 GB, free: 10.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 9.564e-05/1.093, allocations: 57.5 kB / 1.437 GB, free: 10.28 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.093, allocations: 126.7 kB / 1.437 GB, free: 10.14 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/1.093, allocations: 332.5 kB / 1.437 GB, free: 9.801 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/1.093, allocations: 29.64 kB / 1.437 GB, free: 9.766 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/1.093, allocations: 159.9 kB / 1.437 GB, free: 9.605 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/1.093, allocations: 4 kB / 1.437 GB, free: 9.602 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/1.093, allocations: 25.66 kB / 1.437 GB, free: 9.57 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.093, allocations: 338.8 kB / 1.438 GB, free: 9.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/1.093, allocations: 7.984 kB / 1.438 GB, free: 9.223 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/1.093, allocations: 54.81 kB / 1.438 GB, free: 9.145 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/1.094, allocations: 70.8 kB / 1.438 GB, free: 9.051 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.094, allocations: 3.938 kB / 1.438 GB, free: 9.047 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001808/1.094, allocations: 101.4 kB / 1.438 GB, free: 8.941 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.094, allocations: 11.94 kB / 1.438 GB, free: 8.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/1.094, allocations: 0 / 1.438 GB, free: 8.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.094, allocations: 4 kB / 1.438 GB, free: 8.926 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/1.094, allocations: 19.92 kB / 1.438 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.094, allocations: 0 / 1.438 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/1.094, allocations: 27.78 kB / 1.438 GB, free: 8.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/1.094, allocations: 4 kB / 1.438 GB, free: 8.875 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.0001482/1.094, allocations: 217.3 kB / 1.438 GB, free: 8.652 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/1.094, allocations: 136.7 kB / 1.438 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.611e-05/1.094, allocations: 122 kB / 1.438 GB, free: 8.387 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.827e-05/1.094, allocations: 184.2 kB / 1.438 GB, free: 8.199 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.246e-05/1.094, allocations: 180.2 kB / 1.439 GB, free: 8.016 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.395e-05/1.094, allocations: 184.3 kB / 1.439 GB, free: 7.828 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/1.095, allocations: 477.1 kB / 1.439 GB, free: 7.305 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/1.095, allocations: 109 kB / 1.439 GB, free: 7.191 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/1.095, allocations: 104.9 kB / 1.439 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/1.095, allocations: 180.4 kB / 1.44 GB, free: 6.898 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/1.095, allocations: 184.3 kB / 1.44 GB, free: 6.711 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.281e-05/1.095, allocations: 184.2 kB / 1.44 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-05/1.095, allocations: 180.2 kB / 1.44 GB, free: 6.34 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/1.095, allocations: 331.6 kB / 1.441 GB, free: 5.992 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.096, allocations: 201.9 kB / 1.441 GB, free: 5.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.94e-05/1.096, allocations: 192.1 kB / 1.441 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/1.096, allocations: 101 kB / 1.441 GB, free: 5.469 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/1.096, allocations: 184.2 kB / 1.441 GB, free: 5.281 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/1.096, allocations: 117 kB / 1.441 GB, free: 5.16 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002524/1.096, allocations: 235 kB / 1.441 GB, free: 4.934 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.096, allocations: 0 / 1.441 GB, free: 4.934 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002768/1.096, allocations: 24 kB / 1.442 GB, free: 4.91 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.0004697/1.097, allocations: 0.8325 MB / 1.442 GB, free: 4.051 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 9.115e-05/1.097, allocations: 27.86 kB / 1.442 GB, free: 4.023 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.097, allocations: 4.5 kB / 1.442 GB, free: 4.02 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/1.097, allocations: 4 kB / 1.442 GB, free: 4.016 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/1.098, allocations: 0.5219 MB / 1.443 GB, free: 3.492 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/1.1, allocations: 2.516 MB / 1.445 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/1.101, allocations: 0.748 MB / 1.446 GB, free: 88 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 9.472e-05/1.101, allocations: 26.23 kB / 1.446 GB, free: 60 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/1.101, allocations: 63.41 kB / 1.446 GB, free: 16 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/1.101, allocations: 0 / 1.446 GB, free: 16 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/1.123, allocations: 4.871 MB / 1.451 GB, free: 11.29 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.788, allocations: 8.062 kB / 1.451 GB, free: 11.29 MB / 1.139 GB " [Timeout remaining time 290] (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: 16.05925826204475]