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.001398/0.001398, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001715/0.001715, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.805 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.22/3.22, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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.002005/0.002005, allocations: 64.91 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3298, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.171/0.5008, allocations: 130.8 MB / 1.453 GB, free: 15.08 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006123/0.5069, allocations: 4.357 MB / 1.457 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.5073, allocations: 15.88 kB / 1.457 GB, free: 10.69 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.5079, allocations: 166.9 kB / 1.457 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.5084, allocations: 91.44 kB / 1.457 GB, free: 10.43 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.5086, allocations: 63.86 kB / 1.457 GB, free: 10.37 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.5092, allocations: 298.9 kB / 1.458 GB, free: 10.08 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.5095, allocations: 116.3 kB / 1.458 GB, free: 9.969 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.5097, allocations: 111.6 kB / 1.458 GB, free: 9.859 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.5099, allocations: 147.4 kB / 1.458 GB, free: 9.715 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.51, allocations: 16 kB / 1.458 GB, free: 9.699 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.654e-05/0.51, allocations: 20 kB / 1.458 GB, free: 9.68 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 8.955e-05/0.5101, allocations: 63.81 kB / 1.458 GB, free: 9.617 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.5102, allocations: 91.53 kB / 1.458 GB, free: 9.527 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.5105, allocations: 226.9 kB / 1.458 GB, free: 9.305 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5105, allocations: 3.984 kB / 1.458 GB, free: 9.301 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.093e-06/0.5105, allocations: 0 / 1.458 GB, free: 9.301 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.5105, allocations: 4 kB / 1.458 GB, free: 9.297 MB / 1.154 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.0005377/0.5111, allocations: 417.7 kB / 1.459 GB, free: 8.859 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5111, allocations: 12.03 kB / 1.459 GB, free: 8.848 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.5112, allocations: 54.73 kB / 1.459 GB, free: 8.785 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.5113, allocations: 28.8 kB / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.5117, allocations: 215.1 kB / 1.459 GB, free: 8.523 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5117, allocations: 16.81 kB / 1.459 GB, free: 8.508 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.5118, allocations: 20.38 kB / 1.459 GB, free: 8.488 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.5122, allocations: 304.8 kB / 1.459 GB, free: 8.133 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5122, allocations: 4 kB / 1.459 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.5123, allocations: 11.98 kB / 1.459 GB, free: 8.117 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.5123, allocations: 8 kB / 1.459 GB, free: 8.109 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.5125, allocations: 119.7 kB / 1.46 GB, free: 7.992 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.5141, allocations: 1.896 MB / 1.461 GB, free: 5.996 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5143, allocations: 173.1 kB / 1.462 GB, free: 5.816 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.5143, allocations: 84.14 kB / 1.462 GB, free: 5.73 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.5143, allocations: 75.28 kB / 1.462 GB, free: 5.656 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/0.5144, allocations: 109.8 kB / 1.462 GB, free: 5.539 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.5144, allocations: 0 / 1.462 GB, free: 5.539 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.799e-05/0.5145, allocations: 57.44 kB / 1.462 GB, free: 5.477 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.5146, allocations: 134.7 kB / 1.462 GB, free: 5.332 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.515, allocations: 332.4 kB / 1.462 GB, free: 4.992 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.515, allocations: 33.64 kB / 1.462 GB, free: 4.953 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.5151, allocations: 159.9 kB / 1.463 GB, free: 4.793 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.5151, allocations: 3.984 kB / 1.463 GB, free: 4.789 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.5152, allocations: 21.72 kB / 1.463 GB, free: 4.762 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5153, allocations: 330.8 kB / 1.463 GB, free: 4.43 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.5153, allocations: 8 kB / 1.463 GB, free: 4.422 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.5154, allocations: 58.86 kB / 1.463 GB, free: 4.34 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.5155, allocations: 74.78 kB / 1.463 GB, free: 4.242 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5155, allocations: 4 kB / 1.463 GB, free: 4.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001975/0.5157, allocations: 105.4 kB / 1.463 GB, free: 4.129 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5157, allocations: 8 kB / 1.463 GB, free: 4.121 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5157, allocations: 3.938 kB / 1.463 GB, free: 4.117 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5157, allocations: 4 kB / 1.463 GB, free: 4.113 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.5158, allocations: 12 kB / 1.463 GB, free: 4.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5158, allocations: 4 kB / 1.463 GB, free: 4.098 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.5159, allocations: 23.73 kB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.5159, allocations: 8 kB / 1.463 GB, free: 4.066 MB / 1.154 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.0001664/0.5161, allocations: 217.5 kB / 1.463 GB, free: 3.844 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5162, allocations: 133 kB / 1.464 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.5163, allocations: 133.8 kB / 1.464 GB, free: 3.566 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-05/0.5164, allocations: 176.3 kB / 1.464 GB, free: 3.387 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.993e-05/0.5165, allocations: 180.3 kB / 1.464 GB, free: 3.203 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.882e-05/0.5166, allocations: 180.3 kB / 1.464 GB, free: 3.02 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.5169, allocations: 448.2 kB / 1.465 GB, free: 2.531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.403e-05/0.517, allocations: 104.9 kB / 1.465 GB, free: 2.422 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.517, allocations: 101 kB / 1.465 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.361e-05/0.5171, allocations: 180.3 kB / 1.465 GB, free: 2.133 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.661e-05/0.5172, allocations: 188.1 kB / 1.465 GB, free: 1.941 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.863e-05/0.5173, allocations: 184.2 kB / 1.465 GB, free: 1.754 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001139/0.5174, allocations: 192.2 kB / 1.466 GB, free: 1.559 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.5177, allocations: 319.6 kB / 1.466 GB, free: 1.223 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.5178, allocations: 140.8 kB / 1.466 GB, free: 1.078 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.518, allocations: 180.2 kB / 1.466 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.5181, allocations: 112.9 kB / 1.466 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5182, allocations: 184.2 kB / 1.466 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.5183, allocations: 104.9 kB / 1.467 GB, free: 492 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002648/0.5185, allocations: 235 kB / 1.467 GB, free: 260 kB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5185, allocations: 0 / 1.467 GB, free: 260 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002881/0.5188, allocations: 28 kB / 1.467 GB, free: 232 kB / 1.154 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.0006324/0.5194, allocations: 0.832 MB / 1.468 GB, free: 15.37 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.5195, allocations: 23.88 kB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5195, allocations: 0 / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.5195, allocations: 3.938 kB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/0.5203, allocations: 0.5086 MB / 1.468 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.5234, allocations: 2.51 MB / 1.471 GB, free: 12.2 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.5235, allocations: 133.6 kB / 1.471 GB, free: 12.05 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.5236, allocations: 34.22 kB / 1.471 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.5237, allocations: 63.42 kB / 1.471 GB, free: 11.95 MB / 1.17 GB Notification: Performance of SimCode: time 9.21e-07/0.5237, allocations: 0 / 1.471 GB, free: 11.95 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.5589, allocations: 5.632 MB / 1.476 GB, free: 6.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.37, allocations: 2.031 kB / 1.476 GB, free: 6.52 MB / 1.17 GB " [Timeout remaining time 288] (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: 19.030239063780755]