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.0008362/0.0008362, allocations: 80.5 kB / 19.92 MB, free: 4.621 MB / 18.57 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.0008078/0.0008078, allocations: 173.9 kB / 23.2 MB, free: 1.344 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.9621/0.9621, allocations: 177.2 MB / 203.6 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.835/1.835, allocations: 388.8 MB / 0.6336 GB, free: 13.06 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: translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.697e-05, allocations: 2.281 kB / 1 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001708/0.001735, allocations: 1.317 MB / 1.002 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.003173, allocations: 1.099 MB / 1.003 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.003199, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.003222, allocations: 7.875 kB / 1.003 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.003293, allocations: 15.91 kB / 1.003 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.003738, allocations: 151.3 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.00381, allocations: 47.78 kB / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.003854, allocations: 4 kB / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.003915, allocations: 27.92 kB / 1.003 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.768e-05/0.003942, allocations: 19.91 kB / 1.003 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.003957, allocations: 0 / 1.003 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.004264, allocations: 139.8 kB / 1.003 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.004275, allocations: 3.984 kB / 1.003 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.0043, allocations: 23.86 kB / 1.003 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004485, allocations: 135.6 kB / 1.003 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004487, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004488, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.004499, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9167 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.0003499/0.004849, allocations: 290 kB / 1.004 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.004896, allocations: 12.69 kB / 1.004 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.004929, allocations: 4.938 kB / 1.004 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.005026, allocations: 109.7 kB / 1.004 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.00504, allocations: 4.375 kB / 1.004 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.005053, allocations: 4.375 kB / 1.004 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.005181, allocations: 75.88 kB / 1.004 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005189, allocations: 192 / 1.004 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.0052, allocations: 4.375 kB / 1.004 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.005206, allocations: 3.938 kB / 1.004 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.005269, allocations: 43.95 kB / 1.004 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.005404, allocations: 122.1 kB / 1.004 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.005491, allocations: 65.16 kB / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.005528, allocations: 25.78 kB / 1.004 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.006032, allocations: 259.8 kB / 1.004 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.00606, allocations: 38.48 kB / 1.004 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.006062, allocations: 0 / 1.004 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0001961/0.006258, allocations: 93.84 kB / 1.004 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.006302, allocations: 81.05 kB / 1.004 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.006364, allocations: 101.8 kB / 1.005 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006376, allocations: 29.7 kB / 1.005 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.006397, allocations: 84.27 kB / 1.005 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.006433, allocations: 35.69 kB / 1.005 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.00646, allocations: 21.72 kB / 1.005 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.006535, allocations: 310.8 kB / 1.005 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.006559, allocations: 15.98 kB / 1.005 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.006589, allocations: 33.64 kB / 1.005 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.843e-05/0.006648, allocations: 49.66 kB / 1.005 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00665, allocations: 0 / 1.005 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.635e-05/0.006736, allocations: 69.67 kB / 1.005 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.006751, allocations: 12.03 kB / 1.005 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.006757, allocations: 3.984 kB / 1.005 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.00677, allocations: 0 / 1.005 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.006841, allocations: 15.94 kB / 1.005 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.006848, allocations: 3.938 kB / 1.005 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.006866, allocations: 11.95 kB / 1.005 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.006871, allocations: 0 / 1.005 GB, free: 7.469 MB / 0.9167 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.835e-05/0.00693, allocations: 119.1 kB / 1.005 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.006939, allocations: 8 kB / 1.005 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.007085, allocations: 93.86 kB / 1.005 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.007088, allocations: 8.031 kB / 1.005 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.007093, allocations: 3.938 kB / 1.005 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.007098, allocations: 3.984 kB / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.168e-05/0.007179, allocations: 117.2 kB / 1.006 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00718, allocations: 0 / 1.006 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.007213, allocations: 15.98 kB / 1.006 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007214, allocations: 4 kB / 1.006 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.007221, allocations: 0 / 1.006 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.007223, allocations: 3.938 kB / 1.006 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.007226, allocations: 4 kB / 1.006 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.007326, allocations: 105.8 kB / 1.006 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.007352, allocations: 19.94 kB / 1.006 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.007363, allocations: 4 kB / 1.006 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.007374, allocations: 4 kB / 1.006 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.007396, allocations: 11.92 kB / 1.006 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.0074, allocations: 0 / 1.006 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.007424, allocations: 79.28 kB / 1.006 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007424, allocations: 0 / 1.006 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001931/0.007617, allocations: 55.81 kB / 1.006 GB, free: 6.75 MB / 0.9167 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.0002416/0.007859, allocations: 186.9 kB / 1.006 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.007973, allocations: 39.92 kB / 1.006 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.007976, allocations: 0 / 1.006 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.008, allocations: 23.92 kB / 1.006 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.00822, allocations: 21.66 kB / 1.006 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.008528, allocations: 177.6 kB / 1.006 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.008571, allocations: 63.34 kB / 1.006 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.008604, allocations: 11.97 kB / 1.006 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.008628, allocations: 20.5 kB / 1.006 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of SimCode: time 8.41e-07/0.008628, allocations: 0 / 1.006 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of Templates: time 0.003477/0.01211, allocations: 1.569 MB / 1.008 GB, free: 4.613 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.316356141120195]