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.0007913/0.0007913, allocations: 72.45 kB / 19.17 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.0008125/0.0008125, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8517/0.8517, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.72/1.72, allocations: 389 MB / 0.633 GB, free: 12.68 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.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 1.803e-06/1.803e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.215e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001716/0.001739, allocations: 1.302 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.002885, allocations: 1.111 MB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.002912, allocations: 3.938 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.002933, allocations: 3.938 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.003007, allocations: 15.91 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.003485, allocations: 155.3 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.003553, allocations: 47.72 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.00359, allocations: 7.969 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.003638, allocations: 23.98 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.003665, allocations: 19.91 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.003677, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.003939, allocations: 143.7 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.003949, allocations: 7.938 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.003968, allocations: 11.98 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.004134, allocations: 143.6 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004136, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004137, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.00414, allocations: 0 / 1.003 GB, free: 10.51 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.0002745/0.004415, allocations: 286 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.004449, allocations: 12.75 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.004476, allocations: 38.73 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.004496, allocations: 4.938 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.013e-05/0.004566, allocations: 113.7 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.004577, allocations: 8.375 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.004584, allocations: 384 / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.004684, allocations: 67.95 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004691, allocations: 192 / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.004698, allocations: 4.125 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004703, allocations: 4 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/0.004763, allocations: 43.89 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.004888, allocations: 145.6 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.004962, allocations: 65.08 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.004995, allocations: 37.7 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.005438, allocations: 251.8 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.005457, allocations: 38.56 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005458, allocations: 0 / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001625/0.005621, allocations: 94 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.005652, allocations: 85.17 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.581e-05/0.005698, allocations: 97.86 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.005708, allocations: 29.7 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.005727, allocations: 80.14 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.005755, allocations: 35.69 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.005781, allocations: 21.72 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.005851, allocations: 314.8 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.005871, allocations: 12 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.005898, allocations: 33.64 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.005952, allocations: 49.78 kB / 1.004 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005954, allocations: 4 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.298e-05/0.006027, allocations: 73.61 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.006037, allocations: 5.719 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006042, allocations: 4 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006052, allocations: 3.938 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.006099, allocations: 12 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.006104, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.00612, allocations: 11.95 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.006126, allocations: 3.984 kB / 1.005 GB, free: 8.23 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 6.212e-05/0.006188, allocations: 121.7 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-06/0.006195, allocations: 8.031 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.006317, allocations: 105.8 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006321, allocations: 3.938 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.006325, allocations: 4 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006328, allocations: 0 / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.509e-05/0.006413, allocations: 128.8 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.006415, allocations: 4 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.006441, allocations: 15.94 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006442, allocations: 0 / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.00645, allocations: 4 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.006452, allocations: 11.97 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006453, allocations: 3.938 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.482e-05/0.006538, allocations: 105.9 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.006559, allocations: 12.12 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.006569, allocations: 4 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.00658, allocations: 7.922 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.006594, allocations: 7.984 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.006597, allocations: 4 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.006619, allocations: 79.28 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.00662, allocations: 0 / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002033/0.006823, allocations: 63.73 kB / 1.005 GB, free: 7.465 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.0003801/0.007203, allocations: 0.7185 MB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.00729, allocations: 47.86 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007292, allocations: 0 / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.007316, allocations: 27.92 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.007484, allocations: 16.12 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.007877, allocations: 223 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.007912, allocations: 67.33 kB / 1.006 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.007941, allocations: 15.97 kB / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.007965, allocations: 16.5 kB / 1.006 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.007966, allocations: 0 / 1.006 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02342, allocations: 3.324 MB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/6.54, allocations: 0 / 1.01 GB, free: 3.086 MB / 0.9636 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: 10.61275589093566]