Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.0008357/0.0008357, allocations: 76.44 kB / 19.16 MB, free: 0.7344 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.0009411/0.0009411, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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.8509/0.8509, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.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.719/1.719, allocations: 388.8 MB / 0.6328 GB, free: 13.04 MB / 0.6042 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.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009048/0.0009048, allocations: 67.89 kB / 0.9992 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6765/0.6774, allocations: 179.9 MB / 1.175 GB, free: 1.531 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001838/0.6792, allocations: 1.306 MB / 1.176 GB, free: 0.5 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.6808, allocations: 1.483 MB / 1.178 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.6809, allocations: 0 / 1.178 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.6809, allocations: 7.922 kB / 1.178 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.738e-05/0.681, allocations: 10.02 kB / 1.178 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.6818, allocations: 220.5 kB / 1.178 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.6819, allocations: 39.61 kB / 1.178 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.752e-05/0.682, allocations: 1.906 kB / 1.178 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.682, allocations: 31.3 kB / 1.178 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.6821, allocations: 11.25 kB / 1.178 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.6821, allocations: 1.844 kB / 1.178 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.6827, allocations: 217.2 kB / 1.178 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.6827, allocations: 13.06 kB / 1.178 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.6827, allocations: 15.78 kB / 1.178 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.6831, allocations: 187.2 kB / 1.178 GB, free: 14.95 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6831, allocations: 0 / 1.178 GB, free: 14.95 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6831, allocations: 0 / 1.178 GB, free: 14.95 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6831, allocations: 0 / 1.178 GB, free: 14.95 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.0005083/0.6836, allocations: 312.9 kB / 1.179 GB, free: 14.64 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.6836, allocations: 10.09 kB / 1.179 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.6837, allocations: 36.23 kB / 1.179 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.6837, allocations: 2.969 kB / 1.179 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.6838, allocations: 107.9 kB / 1.179 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.6838, allocations: 10.59 kB / 1.179 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.6839, allocations: 2.938 kB / 1.179 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.684, allocations: 73.73 kB / 1.179 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.684, allocations: 0.9375 kB / 1.179 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.684, allocations: 4.812 kB / 1.179 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.684, allocations: 1.062 kB / 1.179 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.6841, allocations: 43.2 kB / 1.179 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.6843, allocations: 140.5 kB / 1.179 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.6844, allocations: 70.92 kB / 1.179 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.6845, allocations: 35.61 kB / 1.179 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.685, allocations: 251.1 kB / 1.179 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.685, allocations: 36.94 kB / 1.179 GB, free: 13.98 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 2.796e-06/0.685, allocations: 3.984 kB / 1.179 GB, free: 13.98 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0001979/0.6852, allocations: 91.2 kB / 1.18 GB, free: 13.92 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.6853, allocations: 82.47 kB / 1.18 GB, free: 13.82 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.6853, allocations: 101.1 kB / 1.18 GB, free: 13.72 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.6853, allocations: 30.77 kB / 1.18 GB, free: 13.68 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.6854, allocations: 81.11 kB / 1.18 GB, free: 13.6 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.6854, allocations: 35.06 kB / 1.18 GB, free: 13.57 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.6854, allocations: 20.81 kB / 1.18 GB, free: 13.55 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.6855, allocations: 319.9 kB / 1.18 GB, free: 13.23 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.6855, allocations: 11.62 kB / 1.18 GB, free: 13.23 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.6855, allocations: 28.61 kB / 1.18 GB, free: 13.2 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.814e-05/0.6856, allocations: 45.98 kB / 1.18 GB, free: 13.17 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6856, allocations: 4 kB / 1.18 GB, free: 13.17 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.693e-05/0.6857, allocations: 74.86 kB / 1.18 GB, free: 13.12 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.6857, allocations: 4.969 kB / 1.18 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6857, allocations: 1.219 kB / 1.18 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6857, allocations: 9.406 kB / 1.18 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.6858, allocations: 19.69 kB / 1.18 GB, free: 13.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.6858, allocations: 1.719 kB / 1.18 GB, free: 13.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.6858, allocations: 5.609 kB / 1.18 GB, free: 13.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.6858, allocations: 5.484 kB / 1.18 GB, free: 13.09 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 0.0003212/0.6861, allocations: 113.1 kB / 1.181 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.6861, allocations: 7.188 kB / 1.181 GB, free: 12.97 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.6863, allocations: 94.3 kB / 1.181 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6863, allocations: 6.125 kB / 1.181 GB, free: 12.9 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6863, allocations: 5.047 kB / 1.181 GB, free: 12.9 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6863, allocations: 0 / 1.181 GB, free: 12.9 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.574e-05/0.6864, allocations: 139.7 kB / 1.181 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6864, allocations: 3.984 kB / 1.181 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.6864, allocations: 16.69 kB / 1.181 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6864, allocations: 1.062 kB / 1.181 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.6864, allocations: 1.156 kB / 1.181 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6864, allocations: 9.219 kB / 1.181 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6864, allocations: 1.312 kB / 1.181 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.6865, allocations: 104.7 kB / 1.181 GB, free: 12.62 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.6866, allocations: 16.84 kB / 1.181 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.6866, allocations: 1.312 kB / 1.181 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.6866, allocations: 3.938 kB / 1.181 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.6866, allocations: 7.922 kB / 1.181 GB, free: 12.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.6866, allocations: 2.344 kB / 1.181 GB, free: 12.6 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.6866, allocations: 86.34 kB / 1.181 GB, free: 12.52 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6866, allocations: 96 / 1.181 GB, free: 12.52 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002244/0.6869, allocations: 76.55 kB / 1.181 GB, free: 12.49 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.00048/0.6873, allocations: 0.7591 MB / 1.182 GB, free: 11.81 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.6875, allocations: 46.86 kB / 1.182 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6875, allocations: 0 / 1.182 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.6875, allocations: 22.7 kB / 1.182 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.6877, allocations: 15.45 kB / 1.182 GB, free: 11.78 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.6881, allocations: 225.8 kB / 1.182 GB, free: 11.57 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.6881, allocations: 73.58 kB / 1.182 GB, free: 11.49 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.6882, allocations: 18.53 kB / 1.182 GB, free: 11.48 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.6882, allocations: 21.58 kB / 1.182 GB, free: 11.46 MB / 1.042 GB Notification: Performance of SimCode: time 7.02e-07/0.6882, allocations: 0 / 1.182 GB, free: 11.46 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.7067, allocations: 3.735 MB / 1.186 GB, free: 8.672 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.447/7.153, allocations: 14.27 kB / 1.186 GB, free: 8.66 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_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_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater_res.csv. Warning: Get data of variable phi from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! Error: Could not read variable d in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv. Warning: Get data of variable d from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! Error: Could not read variable eta in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv. Warning: Get data of variable eta from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! Error: Could not read variable lambda in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv. Warning: Get data of variable lambda from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.179917619097978]