Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001419/0.001419, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001462/0.001462, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.216/3.216, allocations: 0.5107 GB / 0.8158 GB, free: 17.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_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.002846/0.002846, allocations: 68.81 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3915, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1702/0.5616, allocations: 130.8 MB / 1.491 GB, free: 10.79 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005321/0.567, allocations: 4.36 MB / 1.495 GB, free: 6.406 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.5672, allocations: 11.94 kB / 1.495 GB, free: 6.395 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.5678, allocations: 170.8 kB / 1.496 GB, free: 6.227 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.5681, allocations: 87.44 kB / 1.496 GB, free: 6.141 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.5683, allocations: 63.91 kB / 1.496 GB, free: 6.078 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.5687, allocations: 298.8 kB / 1.496 GB, free: 5.785 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.5689, allocations: 104.5 kB / 1.496 GB, free: 5.688 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.5691, allocations: 119.6 kB / 1.496 GB, free: 5.57 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.5694, allocations: 151.4 kB / 1.496 GB, free: 5.422 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.5694, allocations: 16 kB / 1.496 GB, free: 5.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.5694, allocations: 16 kB / 1.496 GB, free: 5.391 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.5695, allocations: 63.81 kB / 1.496 GB, free: 5.328 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.5696, allocations: 83.55 kB / 1.497 GB, free: 5.246 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.5699, allocations: 242.8 kB / 1.497 GB, free: 5.008 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5699, allocations: 0 / 1.497 GB, free: 5.008 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5699, allocations: 4 kB / 1.497 GB, free: 5.004 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5699, allocations: 0 / 1.497 GB, free: 5.004 MB / 1.186 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.0005393/0.5705, allocations: 421.7 kB / 1.497 GB, free: 4.562 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5705, allocations: 12.03 kB / 1.497 GB, free: 4.551 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.5706, allocations: 58.72 kB / 1.497 GB, free: 4.484 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.5706, allocations: 28.75 kB / 1.497 GB, free: 4.457 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.571, allocations: 198.2 kB / 1.497 GB, free: 4.238 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.571, allocations: 16.81 kB / 1.497 GB, free: 4.223 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.5711, allocations: 20.38 kB / 1.497 GB, free: 4.203 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.5715, allocations: 310.9 kB / 1.498 GB, free: 3.848 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5715, allocations: 3.938 kB / 1.498 GB, free: 3.844 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.5716, allocations: 8 kB / 1.498 GB, free: 3.836 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.5716, allocations: 8 kB / 1.498 GB, free: 3.828 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.5718, allocations: 119.8 kB / 1.498 GB, free: 3.711 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.5733, allocations: 1.9 MB / 1.5 GB, free: 1.711 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5734, allocations: 169.1 kB / 1.5 GB, free: 1.535 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.5734, allocations: 80.14 kB / 1.5 GB, free: 1.453 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.5735, allocations: 83.22 kB / 1.5 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.5735, allocations: 105.8 kB / 1.5 GB, free: 1.258 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5735, allocations: 3.938 kB / 1.5 GB, free: 1.254 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.563e-05/0.5736, allocations: 57.48 kB / 1.5 GB, free: 1.191 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.5737, allocations: 130.7 kB / 1.5 GB, free: 1.051 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.5741, allocations: 328.5 kB / 1.501 GB, free: 0.7188 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.5741, allocations: 25.7 kB / 1.501 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5743, allocations: 175.8 kB / 1.501 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.5743, allocations: 3.938 kB / 1.501 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.5743, allocations: 25.67 kB / 1.501 GB, free: 488 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5745, allocations: 330.8 kB / 1.501 GB, free: 148 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.5745, allocations: 8 kB / 1.501 GB, free: 140 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.5745, allocations: 62.8 kB / 1.501 GB, free: 52 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.5746, allocations: 70.84 kB / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5746, allocations: 0 / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001938/0.5748, allocations: 105.3 kB / 1.501 GB, free: 15.85 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5749, allocations: 8 kB / 1.501 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5749, allocations: 3.938 kB / 1.501 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5749, allocations: 4.25 kB / 1.501 GB, free: 15.83 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.575, allocations: 19.94 kB / 1.502 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.575, allocations: 0 / 1.502 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.575, allocations: 23.78 kB / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.575, allocations: 7.984 kB / 1.502 GB, free: 15.78 MB / 1.201 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.0001856/0.5752, allocations: 213.7 kB / 1.502 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/0.5753, allocations: 140.7 kB / 1.502 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.5754, allocations: 129.9 kB / 1.502 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.072e-05/0.5755, allocations: 176.3 kB / 1.502 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.658e-05/0.5756, allocations: 184.2 kB / 1.502 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.596e-05/0.5757, allocations: 180.4 kB / 1.503 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.576, allocations: 452.2 kB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/0.576, allocations: 101 kB / 1.503 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.5761, allocations: 104.9 kB / 1.503 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.268e-05/0.5762, allocations: 176.3 kB / 1.503 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.5763, allocations: 188.2 kB / 1.503 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001016/0.5764, allocations: 180.2 kB / 1.504 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-05/0.5765, allocations: 184.3 kB / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.5767, allocations: 323.6 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.5768, allocations: 132.8 kB / 1.504 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.5769, allocations: 188.1 kB / 1.504 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.577, allocations: 105 kB / 1.505 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.5772, allocations: 188.2 kB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.5772, allocations: 101 kB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00026/0.5775, allocations: 235 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5775, allocations: 0 / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002641/0.5777, allocations: 31.88 kB / 1.505 GB, free: 11.95 MB / 1.201 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.0005595/0.5783, allocations: 0.832 MB / 1.506 GB, free: 11.09 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.826e-05/0.5784, allocations: 24.31 kB / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5784, allocations: 4.125 kB / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.5784, allocations: 0 / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.5792, allocations: 0.5158 MB / 1.506 GB, free: 10.54 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.582, allocations: 2.506 MB / 1.509 GB, free: 7.918 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.5822, allocations: 141.5 kB / 1.509 GB, free: 7.762 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 9.393e-05/0.5823, allocations: 26.28 kB / 1.509 GB, free: 7.73 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.5824, allocations: 59.42 kB / 1.509 GB, free: 7.672 MB / 1.201 GB Notification: Performance of SimCode: time 2.9e-07/0.5824, allocations: 4 kB / 1.509 GB, free: 7.668 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.6178, allocations: 5.606 MB / 1.515 GB, free: 2.25 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.04, allocations: 14.14 kB / 1.515 GB, free: 2.242 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable conAir.m_flow from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable conAir.T in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable conAir.T from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable conAir.C[1] in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable conAir.C[1] from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable souRev.outlet.backward.T in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable souRev.outlet.backward.T from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! Error: Could not read variable souRev.outlet.backward.C[1] in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv. Warning: Get data of variable souRev.outlet.backward.C[1] from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.921580931171775]