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.001701/0.001701, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002095/0.002095, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.023 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.858/2.858, allocations: 476.8 MB / 0.7707 GB, free: 4.324 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.002076/0.002076, allocations: 69.62 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3006, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1812/0.4818, allocations: 151.6 MB / 1.431 GB, free: 3.504 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006622/0.4884, allocations: 4.769 MB / 1.436 GB, free: 14.72 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.4888, allocations: 15.88 kB / 1.436 GB, free: 14.71 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.4895, allocations: 162.9 kB / 1.436 GB, free: 14.55 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.4899, allocations: 95.36 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.4901, allocations: 71.8 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.4907, allocations: 298.8 kB / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.491, allocations: 99.77 kB / 1.437 GB, free: 13.99 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.4913, allocations: 115.5 kB / 1.437 GB, free: 13.88 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.4916, allocations: 163.4 kB / 1.437 GB, free: 13.72 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.4916, allocations: 16 kB / 1.437 GB, free: 13.7 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.4916, allocations: 16 kB / 1.437 GB, free: 13.69 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.4918, allocations: 63.77 kB / 1.437 GB, free: 13.62 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.4919, allocations: 111.5 kB / 1.437 GB, free: 13.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.4923, allocations: 230.9 kB / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4923, allocations: 0 / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4923, allocations: 0 / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.4923, allocations: 0 / 1.438 GB, free: 13.29 MB / 1.139 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.0006314/0.493, allocations: 433.7 kB / 1.438 GB, free: 12.84 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.493, allocations: 8.031 kB / 1.438 GB, free: 12.83 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.161e-05/0.4931, allocations: 58.67 kB / 1.438 GB, free: 12.76 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.4932, allocations: 32.73 kB / 1.438 GB, free: 12.73 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.4936, allocations: 206.1 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.4937, allocations: 16.81 kB / 1.438 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.4937, allocations: 20.38 kB / 1.438 GB, free: 12.47 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.4942, allocations: 304.8 kB / 1.439 GB, free: 12.12 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4942, allocations: 4 kB / 1.439 GB, free: 12.11 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.4942, allocations: 12 kB / 1.439 GB, free: 12.1 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.4942, allocations: 11.94 kB / 1.439 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.4945, allocations: 127.7 kB / 1.439 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.4962, allocations: 1.935 MB / 1.441 GB, free: 9.93 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.4963, allocations: 169.1 kB / 1.441 GB, free: 9.754 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.4963, allocations: 80.14 kB / 1.441 GB, free: 9.672 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.4964, allocations: 75.28 kB / 1.441 GB, free: 9.598 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.4964, allocations: 109.8 kB / 1.441 GB, free: 9.48 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.933e-06/0.4964, allocations: 4 kB / 1.441 GB, free: 9.477 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.0001373/0.4966, allocations: 57.44 kB / 1.441 GB, free: 9.414 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.4966, allocations: 126.7 kB / 1.441 GB, free: 9.277 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.497, allocations: 328.5 kB / 1.442 GB, free: 8.945 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4971, allocations: 25.7 kB / 1.442 GB, free: 8.914 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4972, allocations: 163.8 kB / 1.442 GB, free: 8.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.4972, allocations: 0 / 1.442 GB, free: 8.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.4972, allocations: 25.67 kB / 1.442 GB, free: 8.719 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4974, allocations: 338.8 kB / 1.442 GB, free: 8.379 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.4974, allocations: 4 kB / 1.442 GB, free: 8.375 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.4975, allocations: 54.86 kB / 1.442 GB, free: 8.297 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.894e-05/0.4976, allocations: 78.78 kB / 1.442 GB, free: 8.195 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4976, allocations: 0 / 1.442 GB, free: 8.195 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/0.4978, allocations: 109.3 kB / 1.442 GB, free: 8.082 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4978, allocations: 4 kB / 1.442 GB, free: 8.078 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4978, allocations: 7.938 kB / 1.442 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4978, allocations: 0 / 1.442 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.4979, allocations: 12 kB / 1.442 GB, free: 8.059 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4979, allocations: 11.92 kB / 1.442 GB, free: 8.047 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.498, allocations: 27.78 kB / 1.442 GB, free: 8.02 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.498, allocations: 4.25 kB / 1.442 GB, free: 8.016 MB / 1.139 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.0001583/0.4982, allocations: 217 kB / 1.443 GB, free: 7.793 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.4983, allocations: 132.8 kB / 1.443 GB, free: 7.656 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.4984, allocations: 129.8 kB / 1.443 GB, free: 7.523 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-05/0.4984, allocations: 176.3 kB / 1.443 GB, free: 7.344 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.321e-05/0.4985, allocations: 188.2 kB / 1.443 GB, free: 7.152 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.56e-05/0.4986, allocations: 180.3 kB / 1.443 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.499, allocations: 448.1 kB / 1.444 GB, free: 6.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-05/0.499, allocations: 105 kB / 1.444 GB, free: 6.371 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.4991, allocations: 101 kB / 1.444 GB, free: 6.266 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.159e-05/0.4991, allocations: 184.4 kB / 1.444 GB, free: 6.078 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.981e-05/0.4992, allocations: 188.2 kB / 1.444 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.409e-05/0.4993, allocations: 192.1 kB / 1.444 GB, free: 5.691 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.029e-05/0.4994, allocations: 176.3 kB / 1.445 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.4996, allocations: 327.6 kB / 1.445 GB, free: 5.168 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4997, allocations: 128.8 kB / 1.445 GB, free: 5.035 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.4998, allocations: 196.1 kB / 1.445 GB, free: 4.836 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5, allocations: 105 kB / 1.445 GB, free: 4.727 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.5001, allocations: 176.3 kB / 1.446 GB, free: 4.547 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.5001, allocations: 108.9 kB / 1.446 GB, free: 4.434 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002975/0.5004, allocations: 235 kB / 1.446 GB, free: 4.203 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5004, allocations: 0 / 1.446 GB, free: 4.203 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003143/0.5008, allocations: 24 kB / 1.446 GB, free: 4.18 MB / 1.139 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.0005072/0.5013, allocations: 0.8339 MB / 1.447 GB, free: 3.32 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.5014, allocations: 24.25 kB / 1.447 GB, free: 3.297 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5014, allocations: 4.125 kB / 1.447 GB, free: 3.293 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.5014, allocations: 3.984 kB / 1.447 GB, free: 3.289 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.5022, allocations: 0.5158 MB / 1.447 GB, free: 2.77 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.5052, allocations: 2.51 MB / 1.45 GB, free: 144 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.5056, allocations: 0.748 MB / 1.45 GB, free: 15.37 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000122/0.5057, allocations: 22.28 kB / 1.45 GB, free: 15.34 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.5058, allocations: 63.42 kB / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of SimCode: time 8.01e-07/0.5058, allocations: 0 / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.5402, allocations: 4.957 MB / 1.455 GB, free: 10.5 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.96, allocations: 9.781 kB / 1.455 GB, free: 10.49 MB / 1.154 GB " [Timeout remaining time 287] (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: 18.535879800096154]