Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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.0008093/0.0008093, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008844/0.0008844, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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 0.8997/0.8997, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] 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 1.805/1.805, allocations: 0.5036 GB / 0.8087 GB, free: 3.359 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009015/0.0009015, allocations: 59.91 kB / 1.175 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6783, allocations: 180 MB / 1.351 GB, free: 2.273 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001585/0.6799, allocations: 1.31 MB / 1.352 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.6809, allocations: 1.117 MB / 1.353 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.681, allocations: 0 / 1.353 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.681, allocations: 3.938 kB / 1.353 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.6811, allocations: 7.922 kB / 1.353 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.6815, allocations: 151.4 kB / 1.353 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.6815, allocations: 43.8 kB / 1.353 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.6816, allocations: 3.984 kB / 1.353 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.6816, allocations: 19.94 kB / 1.353 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.769e-05/0.6816, allocations: 19.91 kB / 1.353 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.6816, allocations: 4 kB / 1.353 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.6819, allocations: 131.8 kB / 1.353 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.6819, allocations: 11.94 kB / 1.354 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.6819, allocations: 27.84 kB / 1.354 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.6823, allocations: 117.8 kB / 1.354 GB, free: 15.3 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6823, allocations: 3.984 kB / 1.354 GB, free: 15.29 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6823, allocations: 0 / 1.354 GB, free: 15.29 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.6823, allocations: 0 / 1.354 GB, free: 15.29 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002858/0.6826, allocations: 290 kB / 1.354 GB, free: 14.98 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.6827, allocations: 12.03 kB / 1.354 GB, free: 14.97 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.6827, allocations: 42.73 kB / 1.354 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.6827, allocations: 0.9375 kB / 1.354 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.8e-05/0.6828, allocations: 106.5 kB / 1.354 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.6828, allocations: 384 / 1.354 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.6828, allocations: 8.375 kB / 1.354 GB, free: 14.78 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.6829, allocations: 75.45 kB / 1.354 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.6829, allocations: 4 kB / 1.354 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.6829, allocations: 3.984 kB / 1.354 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6829, allocations: 0 / 1.354 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.478e-05/0.683, allocations: 39.95 kB / 1.354 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.6831, allocations: 149.5 kB / 1.354 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.351e-05/0.6832, allocations: 73.08 kB / 1.354 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.6832, allocations: 33.7 kB / 1.354 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.6837, allocations: 252 kB / 1.355 GB, free: 14.08 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.6837, allocations: 42.44 kB / 1.355 GB, free: 14.03 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.6837, allocations: 8 kB / 1.355 GB, free: 14.02 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0001578/0.6838, allocations: 77.69 kB / 1.355 GB, free: 13.94 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.6839, allocations: 85.03 kB / 1.355 GB, free: 13.84 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.6839, allocations: 93.86 kB / 1.355 GB, free: 13.74 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.6839, allocations: 29.7 kB / 1.355 GB, free: 13.7 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.6839, allocations: 84.14 kB / 1.355 GB, free: 13.62 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.684, allocations: 35.69 kB / 1.355 GB, free: 13.58 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.684, allocations: 17.72 kB / 1.355 GB, free: 13.56 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.6841, allocations: 318.8 kB / 1.355 GB, free: 13.24 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.6841, allocations: 12 kB / 1.355 GB, free: 13.23 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.6841, allocations: 29.83 kB / 1.355 GB, free: 13.19 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.6841, allocations: 49.64 kB / 1.356 GB, free: 13.14 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6841, allocations: 0 / 1.356 GB, free: 13.14 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.203e-05/0.6842, allocations: 77.61 kB / 1.356 GB, free: 13.05 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.6842, allocations: 4 kB / 1.356 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.6842, allocations: 0 / 1.356 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.6842, allocations: 0 / 1.356 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.6843, allocations: 19.94 kB / 1.356 GB, free: 13.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.6843, allocations: 0 / 1.356 GB, free: 13.03 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.6843, allocations: 8.031 kB / 1.356 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.6843, allocations: 7.984 kB / 1.356 GB, free: 13.02 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 4.841e-05/0.6844, allocations: 113.8 kB / 1.356 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-06/0.6844, allocations: 11.89 kB / 1.356 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.6845, allocations: 105.7 kB / 1.356 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.6845, allocations: 3.984 kB / 1.356 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6845, allocations: 0 / 1.356 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6845, allocations: 0 / 1.356 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.372e-05/0.6846, allocations: 136.7 kB / 1.356 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6846, allocations: 3.984 kB / 1.356 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.6846, allocations: 23.97 kB / 1.356 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.6846, allocations: 0 / 1.356 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.6846, allocations: 7.938 kB / 1.356 GB, free: 12.56 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6846, allocations: 3.938 kB / 1.356 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.6846, allocations: 0 / 1.356 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.978e-05/0.6847, allocations: 105.9 kB / 1.356 GB, free: 12.43 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.6847, allocations: 19.88 kB / 1.356 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.6847, allocations: 4 kB / 1.356 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-06/0.6847, allocations: 4 kB / 1.356 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.6848, allocations: 11.98 kB / 1.356 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.6848, allocations: 0 / 1.356 GB, free: 12.39 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.6848, allocations: 83.28 kB / 1.356 GB, free: 12.31 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6848, allocations: 0 / 1.356 GB, free: 12.31 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001617/0.6849, allocations: 59.83 kB / 1.356 GB, free: 12.25 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0003563/0.6853, allocations: 0.7188 MB / 1.357 GB, free: 11.5 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.6854, allocations: 43.92 kB / 1.357 GB, free: 11.46 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6854, allocations: 0 / 1.357 GB, free: 11.46 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.262e-05/0.6854, allocations: 28.08 kB / 1.357 GB, free: 11.43 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.6856, allocations: 12.14 kB / 1.357 GB, free: 11.42 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.6859, allocations: 240 kB / 1.357 GB, free: 11.14 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.686, allocations: 71.22 kB / 1.357 GB, free: 11.05 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.686, allocations: 27.88 kB / 1.357 GB, free: 11.02 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.686, allocations: 11.44 kB / 1.357 GB, free: 11.01 MB / 1.042 GB Notification: Performance of SimCode: time 2.5e-07/0.686, allocations: 0 / 1.357 GB, free: 11.01 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.7001, allocations: 3.172 MB / 1.361 GB, free: 7.988 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.185/6.885, allocations: 0 / 1.361 GB, free: 7.988 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_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_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phi in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable phi from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! Error: Could not read variable d in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable d from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! Error: Could not read variable eta in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable eta from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! Error: Could not read variable lambda in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable lambda from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.095109837129712]