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.001772/0.001772, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00239/0.00239, allocations: 215.2 kB / 22.25 MB, free: 5.105 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.84 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.091/3.091, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001955/0.001955, allocations: 69.05 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1641/0.492, allocations: 130.8 MB / 1.454 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00529/0.4973, allocations: 4.364 MB / 1.458 GB, free: 9.832 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.4976, allocations: 15.88 kB / 1.458 GB, free: 9.816 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.4981, allocations: 170.8 kB / 1.458 GB, free: 9.648 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.4984, allocations: 91.45 kB / 1.458 GB, free: 9.559 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.4986, allocations: 63.91 kB / 1.458 GB, free: 9.496 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.4989, allocations: 298.8 kB / 1.458 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.4992, allocations: 104.5 kB / 1.459 GB, free: 9.105 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.4994, allocations: 115.5 kB / 1.459 GB, free: 8.992 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.4996, allocations: 159.4 kB / 1.459 GB, free: 8.836 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.4996, allocations: 16 kB / 1.459 GB, free: 8.82 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.254e-05/0.4997, allocations: 16 kB / 1.459 GB, free: 8.805 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.4998, allocations: 63.83 kB / 1.459 GB, free: 8.742 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.4999, allocations: 87.55 kB / 1.459 GB, free: 8.656 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.5001, allocations: 242.8 kB / 1.459 GB, free: 8.418 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5001, allocations: 0 / 1.459 GB, free: 8.418 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5001, allocations: 0 / 1.459 GB, free: 8.418 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.5002, allocations: 0 / 1.459 GB, free: 8.418 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.0004945/0.5006, allocations: 429.7 kB / 1.46 GB, free: 7.969 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5007, allocations: 8.031 kB / 1.46 GB, free: 7.961 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.5007, allocations: 54.73 kB / 1.46 GB, free: 7.898 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.5008, allocations: 24.8 kB / 1.46 GB, free: 7.875 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.5012, allocations: 212.4 kB / 1.46 GB, free: 7.645 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5012, allocations: 16.81 kB / 1.46 GB, free: 7.629 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.5012, allocations: 20.38 kB / 1.46 GB, free: 7.609 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.5016, allocations: 308.8 kB / 1.46 GB, free: 7.25 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5016, allocations: 0 / 1.46 GB, free: 7.25 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.5017, allocations: 11.94 kB / 1.46 GB, free: 7.238 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.5017, allocations: 4 kB / 1.46 GB, free: 7.234 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.5018, allocations: 127.8 kB / 1.46 GB, free: 7.109 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.5032, allocations: 1.896 MB / 1.462 GB, free: 5.113 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.5033, allocations: 169.1 kB / 1.462 GB, free: 4.938 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.5034, allocations: 84.14 kB / 1.462 GB, free: 4.852 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.5034, allocations: 75.28 kB / 1.463 GB, free: 4.777 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.5035, allocations: 113.8 kB / 1.463 GB, free: 4.656 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5035, allocations: 0 / 1.463 GB, free: 4.656 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.142e-05/0.5036, allocations: 53.5 kB / 1.463 GB, free: 4.598 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.5036, allocations: 126.7 kB / 1.463 GB, free: 4.461 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.504, allocations: 340.5 kB / 1.463 GB, free: 4.113 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.504, allocations: 25.7 kB / 1.463 GB, free: 4.082 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5041, allocations: 159.9 kB / 1.463 GB, free: 3.922 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.5041, allocations: 3.938 kB / 1.463 GB, free: 3.918 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.5042, allocations: 21.72 kB / 1.463 GB, free: 3.891 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5043, allocations: 330.8 kB / 1.464 GB, free: 3.559 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.5043, allocations: 15.98 kB / 1.464 GB, free: 3.543 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.395e-05/0.5044, allocations: 58.8 kB / 1.464 GB, free: 3.461 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.5045, allocations: 86.77 kB / 1.464 GB, free: 3.352 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5045, allocations: 0 / 1.464 GB, free: 3.352 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001787/0.5047, allocations: 101.6 kB / 1.464 GB, free: 3.246 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5047, allocations: 8.031 kB / 1.464 GB, free: 3.238 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5047, allocations: 7.938 kB / 1.464 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5047, allocations: 0 / 1.464 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.5048, allocations: 19.92 kB / 1.464 GB, free: 3.211 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5048, allocations: 4 kB / 1.464 GB, free: 3.207 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.5049, allocations: 27.73 kB / 1.464 GB, free: 3.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5049, allocations: 8 kB / 1.464 GB, free: 3.172 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.0001482/0.505, allocations: 209.6 kB / 1.464 GB, free: 2.957 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.5051, allocations: 132.8 kB / 1.464 GB, free: 2.82 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.636e-05/0.5052, allocations: 125.9 kB / 1.464 GB, free: 2.688 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.402e-05/0.5053, allocations: 188.2 kB / 1.465 GB, free: 2.496 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-05/0.5054, allocations: 180.2 kB / 1.465 GB, free: 2.312 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.351e-05/0.5054, allocations: 180.4 kB / 1.465 GB, free: 2.129 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.5057, allocations: 444.2 kB / 1.465 GB, free: 1.645 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.241e-05/0.5058, allocations: 101 kB / 1.466 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.5058, allocations: 109 kB / 1.466 GB, free: 1.426 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.914e-05/0.5059, allocations: 180.2 kB / 1.466 GB, free: 1.242 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.506, allocations: 180.2 kB / 1.466 GB, free: 1.059 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.741e-05/0.506, allocations: 188.2 kB / 1.466 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.09e-05/0.5061, allocations: 176.3 kB / 1.466 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.5063, allocations: 327.6 kB / 1.467 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.5064, allocations: 136.8 kB / 1.467 GB, free: 208 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.551e-05/0.5065, allocations: 184.1 kB / 1.467 GB, free: 16 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5066, allocations: 109 kB / 1.467 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.5067, allocations: 180.2 kB / 1.467 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.5067, allocations: 101 kB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002393/0.507, allocations: 239 kB / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.507, allocations: 0 / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002802/0.5072, allocations: 27.95 kB / 1.468 GB, free: 15.36 MB / 1.17 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.0004666/0.5077, allocations: 0.832 MB / 1.468 GB, free: 14.5 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.151e-05/0.5078, allocations: 27.92 kB / 1.468 GB, free: 14.47 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5078, allocations: 0 / 1.468 GB, free: 14.47 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5078, allocations: 7.938 kB / 1.468 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.5085, allocations: 0.5219 MB / 1.469 GB, free: 13.93 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.5111, allocations: 2.506 MB / 1.471 GB, free: 11.31 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.5113, allocations: 137.6 kB / 1.471 GB, free: 11.16 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.592e-05/0.5113, allocations: 30.22 kB / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.5114, allocations: 67.41 kB / 1.472 GB, free: 11.06 MB / 1.17 GB Notification: Performance of SimCode: time 4e-07/0.5114, allocations: 3.938 kB / 1.472 GB, free: 11.05 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.5428, allocations: 5.655 MB / 1.477 GB, free: 5.605 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.75, allocations: 9.609 kB / 1.477 GB, free: 5.602 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: 18.346816523990128]