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.0007698/0.0007698, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008386/0.0008386, allocations: 169.9 kB / 22.46 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.8555/0.8555, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.762/1.762, allocations: 389 MB / 0.633 GB, free: 12.7 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 1.723e-06/1.723e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.959e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001792/0.001812, allocations: 1.298 MB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.003477, allocations: 1.496 MB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.0035, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.003519, allocations: 3.938 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.003586, allocations: 15.86 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.004111, allocations: 218.9 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.00418, allocations: 47.78 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.004217, allocations: 7.922 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.004264, allocations: 23.92 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.004293, allocations: 19.97 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.004306, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.004646, allocations: 211.6 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.004656, allocations: 4 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.004676, allocations: 8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.004882, allocations: 199.4 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004884, allocations: 0 / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004885, allocations: 0 / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004889, allocations: 0 / 1.003 GB, free: 9.98 MB / 0.9636 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.0003023/0.005192, allocations: 309.8 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.005228, allocations: 12.75 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.005254, allocations: 34.75 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.005275, allocations: 4.938 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.961e-05/0.005345, allocations: 109.7 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.005354, allocations: 4.375 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.005362, allocations: 8.375 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.752e-05/0.00546, allocations: 63.95 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.005467, allocations: 192 / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.005475, allocations: 4.125 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.005481, allocations: 4 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.00554, allocations: 43.89 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.005671, allocations: 145.6 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.639e-05/0.005748, allocations: 73.03 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.005783, allocations: 29.7 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.006234, allocations: 259.8 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.006251, allocations: 30.56 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.021e-06/0.006252, allocations: 0 / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001648/0.006417, allocations: 94.02 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.006447, allocations: 77.11 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.006495, allocations: 101.8 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.006504, allocations: 33.77 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.006524, allocations: 80.14 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.006554, allocations: 35.69 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.006585, allocations: 21.72 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.006656, allocations: 318.8 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.006675, allocations: 8 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.006701, allocations: 29.7 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/0.006753, allocations: 49.72 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.006755, allocations: 0 / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.859e-05/0.006834, allocations: 81.55 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.006845, allocations: 12.03 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006851, allocations: 4 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006862, allocations: 3.938 kB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.006915, allocations: 12 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.006921, allocations: 3.984 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.006936, allocations: 7.953 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.00694, allocations: 0 / 1.005 GB, free: 7.684 MB / 0.9636 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 5.089e-05/0.006991, allocations: 117.8 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-06/0.006998, allocations: 4 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.007122, allocations: 113.7 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007125, allocations: 3.938 kB / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007128, allocations: 4 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007131, allocations: 0 / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.27e-05/0.007203, allocations: 132.8 kB / 1.005 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.007204, allocations: 4 kB / 1.005 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.007231, allocations: 15.94 kB / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007232, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.007238, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.007241, allocations: 7.938 kB / 1.005 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007242, allocations: 3.984 kB / 1.005 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.483e-05/0.007327, allocations: 106 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.007349, allocations: 15.94 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-06/0.007357, allocations: 0 / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.007369, allocations: 3.938 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.007383, allocations: 11.98 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.007386, allocations: 4 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.143e-05/0.007407, allocations: 79.27 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007407, allocations: 0 / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001893/0.007597, allocations: 79.69 kB / 1.006 GB, free: 6.906 MB / 0.9636 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.000434/0.008031, allocations: 0.7535 MB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.008119, allocations: 47.86 kB / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.00812, allocations: 0 / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.008144, allocations: 27.92 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.008324, allocations: 18.34 kB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.008673, allocations: 243.1 kB / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.008709, allocations: 63.34 kB / 1.007 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.008735, allocations: 8 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.008763, allocations: 20.48 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of SimCode: time 4.7e-07/0.008764, allocations: 0 / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.02314, allocations: 3.759 MB / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.488/6.512, allocations: 15.86 kB / 1.011 GB, free: 2.027 MB / 0.9636 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: 10.581848273053765]