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.001553/0.001553, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001825/0.001825, allocations: 221.4 kB / 22.26 MB, free: 5.125 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 8 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.156/3.156, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.002015/0.002015, allocations: 77.59 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.175/0.5089, allocations: 151.6 MB / 1.474 GB, free: 9.727 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005447/0.5143, allocations: 4.773 MB / 1.479 GB, free: 4.934 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.5146, allocations: 7.938 kB / 1.479 GB, free: 4.926 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.5151, allocations: 166.8 kB / 1.479 GB, free: 4.762 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.5154, allocations: 91.42 kB / 1.479 GB, free: 4.672 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.5156, allocations: 71.8 kB / 1.479 GB, free: 4.602 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.516, allocations: 298.8 kB / 1.479 GB, free: 4.309 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.5162, allocations: 106.9 kB / 1.479 GB, free: 4.211 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.5164, allocations: 119.5 kB / 1.479 GB, free: 4.094 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.5166, allocations: 155.4 kB / 1.48 GB, free: 3.941 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.5166, allocations: 16 kB / 1.48 GB, free: 3.926 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.5167, allocations: 16 kB / 1.48 GB, free: 3.91 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.5167, allocations: 67.77 kB / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.5168, allocations: 103.5 kB / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.5171, allocations: 238.8 kB / 1.48 GB, free: 3.508 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5171, allocations: 0 / 1.48 GB, free: 3.508 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5171, allocations: 0 / 1.48 GB, free: 3.508 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5171, allocations: 4 kB / 1.48 GB, free: 3.504 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.0004905/0.5176, allocations: 429.7 kB / 1.48 GB, free: 3.055 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5177, allocations: 12.03 kB / 1.48 GB, free: 3.043 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.5177, allocations: 50.73 kB / 1.481 GB, free: 2.984 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.5178, allocations: 28.8 kB / 1.481 GB, free: 2.957 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.5181, allocations: 211.8 kB / 1.481 GB, free: 2.727 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5182, allocations: 12.81 kB / 1.481 GB, free: 2.715 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.5182, allocations: 24.31 kB / 1.481 GB, free: 2.691 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.5186, allocations: 304.8 kB / 1.481 GB, free: 2.336 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5186, allocations: 3.938 kB / 1.481 GB, free: 2.332 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.5186, allocations: 12 kB / 1.481 GB, free: 2.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5187, allocations: 8 kB / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.5189, allocations: 119.8 kB / 1.481 GB, free: 2.195 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.5203, allocations: 1.931 MB / 1.483 GB, free: 168 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5204, allocations: 173.1 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.5205, allocations: 88.11 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.5205, allocations: 75.28 kB / 1.483 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.5205, allocations: 109.8 kB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.5205, allocations: 0 / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.5206, allocations: 61.42 kB / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.5207, allocations: 126.7 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.5211, allocations: 328.5 kB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.5211, allocations: 25.7 kB / 1.484 GB, free: 15.13 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.5212, allocations: 167.8 kB / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.5212, allocations: 0 / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.5213, allocations: 25.72 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5214, allocations: 334.8 kB / 1.485 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.5214, allocations: 7.938 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.5215, allocations: 58.86 kB / 1.485 GB, free: 14.51 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.443e-05/0.5216, allocations: 70.75 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5216, allocations: 4 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001827/0.5218, allocations: 105.4 kB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5218, allocations: 4 kB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5218, allocations: 11.92 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5218, allocations: 0 / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.5219, allocations: 15.94 kB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5219, allocations: 4 kB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.522, allocations: 31.98 kB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.522, allocations: 8 kB / 1.485 GB, free: 14.23 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.0001425/0.5221, allocations: 209.6 kB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.5222, allocations: 132.8 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.5223, allocations: 125.9 kB / 1.485 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/0.5224, allocations: 184.1 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.061e-05/0.5224, allocations: 184.3 kB / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.042e-05/0.5225, allocations: 180.4 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.5228, allocations: 452.2 kB / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/0.5229, allocations: 105 kB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.5229, allocations: 104.9 kB / 1.486 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/0.523, allocations: 176.3 kB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.5231, allocations: 188.2 kB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.933e-05/0.5232, allocations: 188.2 kB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.126e-05/0.5232, allocations: 180.3 kB / 1.487 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.5234, allocations: 319.6 kB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/0.5235, allocations: 136.8 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5236, allocations: 184.1 kB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5237, allocations: 105 kB / 1.488 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.5238, allocations: 184.2 kB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.5238, allocations: 105 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002411/0.5241, allocations: 235 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5241, allocations: 0 / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002621/0.5243, allocations: 31.94 kB / 1.488 GB, free: 10.4 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.0004606/0.5248, allocations: 0.8381 MB / 1.489 GB, free: 9.535 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.221e-05/0.5249, allocations: 20.38 kB / 1.489 GB, free: 9.516 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5249, allocations: 4.062 kB / 1.489 GB, free: 9.512 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5249, allocations: 0 / 1.489 GB, free: 9.512 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.5256, allocations: 0.5158 MB / 1.49 GB, free: 8.988 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.5283, allocations: 2.522 MB / 1.492 GB, free: 6.352 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.5286, allocations: 0.748 MB / 1.493 GB, free: 5.578 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 9.63e-05/0.5287, allocations: 26.27 kB / 1.493 GB, free: 5.547 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.5288, allocations: 63.42 kB / 1.493 GB, free: 5.484 MB / 1.186 GB Notification: Performance of SimCode: time 5.61e-07/0.5288, allocations: 4 kB / 1.493 GB, free: 5.48 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.5602, allocations: 4.945 MB / 1.498 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.36, allocations: 9.719 kB / 1.498 GB, free: 0.707 MB / 1.186 GB " [Timeout remaining time 289] (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: 17.98995048299912]