Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001424/0.001424, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001432/0.001432, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.203/3.203, allocations: 0.49 GB / 0.7916 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_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.00225/0.00225, allocations: 67.47 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3056, allocations: 176.1 MB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.178/0.4836, allocations: 151.4 MB / 1.469 GB, free: 11.25 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005646/0.4892, allocations: 4.703 MB / 1.473 GB, free: 6.531 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.4895, allocations: 19.88 kB / 1.473 GB, free: 6.512 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.49, allocations: 166.9 kB / 1.474 GB, free: 6.348 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.4904, allocations: 83.44 kB / 1.474 GB, free: 6.266 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.4906, allocations: 63.92 kB / 1.474 GB, free: 6.203 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.491, allocations: 298.8 kB / 1.474 GB, free: 5.91 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.4912, allocations: 119.8 kB / 1.474 GB, free: 5.797 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.4914, allocations: 119.4 kB / 1.474 GB, free: 5.68 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.4917, allocations: 163.4 kB / 1.474 GB, free: 5.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.4917, allocations: 16 kB / 1.474 GB, free: 5.504 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.12e-05/0.4917, allocations: 16 kB / 1.474 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-05/0.4918, allocations: 67.77 kB / 1.474 GB, free: 5.422 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.4919, allocations: 107.5 kB / 1.475 GB, free: 5.316 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.4923, allocations: 234.9 kB / 1.475 GB, free: 5.086 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4923, allocations: 0 / 1.475 GB, free: 5.086 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.654e-06/0.4923, allocations: 0 / 1.475 GB, free: 5.086 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.4923, allocations: 0 / 1.475 GB, free: 5.086 MB / 1.17 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.0005611/0.4928, allocations: 0.491 MB / 1.475 GB, free: 4.547 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4929, allocations: 11.98 kB / 1.475 GB, free: 4.535 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.4929, allocations: 54.73 kB / 1.475 GB, free: 4.473 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.493, allocations: 24.8 kB / 1.475 GB, free: 4.449 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.4934, allocations: 281.7 kB / 1.476 GB, free: 4.137 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4934, allocations: 16.81 kB / 1.476 GB, free: 4.121 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.4935, allocations: 24.31 kB / 1.476 GB, free: 4.098 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.4939, allocations: 304.8 kB / 1.476 GB, free: 3.742 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4939, allocations: 3.938 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.4939, allocations: 12 kB / 1.476 GB, free: 3.727 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.494, allocations: 8 kB / 1.476 GB, free: 3.719 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.4942, allocations: 127.7 kB / 1.476 GB, free: 3.594 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.4957, allocations: 1.958 MB / 1.478 GB, free: 1.527 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.4958, allocations: 177.1 kB / 1.478 GB, free: 1.344 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.4958, allocations: 80.14 kB / 1.478 GB, free: 1.262 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.4959, allocations: 79.28 kB / 1.478 GB, free: 1.184 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.4959, allocations: 105.8 kB / 1.478 GB, free: 1.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.4959, allocations: 0 / 1.478 GB, free: 1.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001038/0.496, allocations: 57.44 kB / 1.478 GB, free: 1.008 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.4961, allocations: 126.7 kB / 1.479 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.4965, allocations: 336.5 kB / 1.479 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4965, allocations: 25.7 kB / 1.479 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4966, allocations: 171.8 kB / 1.479 GB, free: 332 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.4966, allocations: 4 kB / 1.479 GB, free: 328 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.4967, allocations: 17.72 kB / 1.479 GB, free: 304 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4969, allocations: 338.8 kB / 1.479 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.4969, allocations: 7.984 kB / 1.479 GB, free: 15.95 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.4969, allocations: 62.86 kB / 1.479 GB, free: 15.86 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.497, allocations: 74.73 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.497, allocations: 0 / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001903/0.4972, allocations: 101.4 kB / 1.48 GB, free: 15.66 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4972, allocations: 4 kB / 1.48 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4972, allocations: 7.938 kB / 1.48 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4973, allocations: 4.25 kB / 1.48 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.4973, allocations: 15.98 kB / 1.48 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4974, allocations: 4 kB / 1.48 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.4974, allocations: 31.73 kB / 1.48 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4974, allocations: 4 kB / 1.48 GB, free: 15.59 MB / 1.186 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.0001506/0.4976, allocations: 214.8 kB / 1.48 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.4977, allocations: 124.8 kB / 1.48 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.4978, allocations: 129.9 kB / 1.48 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.556e-05/0.4978, allocations: 188.2 kB / 1.48 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.423e-05/0.4979, allocations: 176.3 kB / 1.481 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.22e-05/0.498, allocations: 192.3 kB / 1.481 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.4984, allocations: 473.2 kB / 1.481 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.4984, allocations: 108.9 kB / 1.481 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.4985, allocations: 109 kB / 1.481 GB, free: 13.8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-05/0.4985, allocations: 180.2 kB / 1.482 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.4986, allocations: 184.1 kB / 1.482 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.356e-05/0.4987, allocations: 180.3 kB / 1.482 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.07e-05/0.4988, allocations: 180.2 kB / 1.482 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4989, allocations: 327.7 kB / 1.482 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.4991, allocations: 209.9 kB / 1.483 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4992, allocations: 188.2 kB / 1.483 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4993, allocations: 104.9 kB / 1.483 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.4994, allocations: 176.3 kB / 1.483 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.4994, allocations: 109 kB / 1.483 GB, free: 11.89 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002563/0.4997, allocations: 243 kB / 1.483 GB, free: 11.66 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.4997, allocations: 0 / 1.483 GB, free: 11.66 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002785/0.4999, allocations: 24 kB / 1.483 GB, free: 11.63 MB / 1.186 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.0004745/0.5004, allocations: 0.8398 MB / 1.484 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.967e-05/0.5005, allocations: 23.92 kB / 1.484 GB, free: 10.74 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5005, allocations: 0 / 1.484 GB, free: 10.74 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.5005, allocations: 7.938 kB / 1.484 GB, free: 10.73 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.5012, allocations: 0.5163 MB / 1.485 GB, free: 10.21 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.504, allocations: 2.51 MB / 1.487 GB, free: 7.586 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5044, allocations: 0.744 MB / 1.488 GB, free: 6.816 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.5045, allocations: 30.28 kB / 1.488 GB, free: 6.785 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.5046, allocations: 63.41 kB / 1.488 GB, free: 6.723 MB / 1.186 GB Notification: Performance of SimCode: time 6.21e-07/0.5046, allocations: 0 / 1.488 GB, free: 6.723 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.5335, allocations: 4.816 MB / 1.493 GB, free: 2.051 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/9.104, allocations: 20.48 kB / 1.493 GB, free: 2.035 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conAir.m_flow in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable conAir.m_flow from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable conAir.T in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable conAir.T from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable conAir.C[1] in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable conAir.C[1] from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable souRev.outlet.backward.T in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable souRev.outlet.backward.T from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable souRev.outlet.backward.C[1] in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable souRev.outlet.backward.C[1] from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.76049501192756]