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.0006989/0.0006989, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008004/0.0008004, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8648/0.8648, allocations: 230.6 MB / 256.8 MB, free: 3.488 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 2.04/2.04, allocations: 0.5036 GB / 0.8094 GB, free: 19.21 MB / 0.6198 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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008547/0.0008547, allocations: 72.73 kB / 1.176 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2856, allocations: 180 MB / 1.352 GB, free: 4.211 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001662/0.2872, allocations: 1.335 MB / 1.353 GB, free: 2.863 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2887, allocations: 1.66 MB / 1.355 GB, free: 1.195 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.2887, allocations: 0 / 1.355 GB, free: 1.195 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.2887, allocations: 0 / 1.355 GB, free: 1.195 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.2888, allocations: 15.86 kB / 1.355 GB, free: 1.18 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.2893, allocations: 207.1 kB / 1.355 GB, free: 0.9766 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.2894, allocations: 43.8 kB / 1.355 GB, free: 0.9336 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.2894, allocations: 4 kB / 1.355 GB, free: 0.9297 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.2895, allocations: 19.92 kB / 1.355 GB, free: 0.9102 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.873e-05/0.2895, allocations: 23.91 kB / 1.355 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.2895, allocations: 0 / 1.355 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.2901, allocations: 235.6 kB / 1.355 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2901, allocations: 0 / 1.355 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.2902, allocations: 19.88 kB / 1.355 GB, free: 0.6367 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2904, allocations: 167.5 kB / 1.356 GB, free: 484 kB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2904, allocations: 4 kB / 1.356 GB, free: 480 kB / 1.042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2904, allocations: 0 / 1.356 GB, free: 480 kB / 1.042 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2904, allocations: 0 / 1.356 GB, free: 480 kB / 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.0003163/0.2907, allocations: 301.8 kB / 1.356 GB, free: 148 kB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2907, allocations: 12.03 kB / 1.356 GB, free: 136 kB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2908, allocations: 8.891 kB / 1.356 GB, free: 128 kB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.2909, allocations: 110.5 kB / 1.356 GB, free: 15.99 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2909, allocations: 384 / 1.356 GB, free: 15.99 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2909, allocations: 8.312 kB / 1.356 GB, free: 15.98 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.291, allocations: 67.7 kB / 1.356 GB, free: 15.91 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.291, allocations: 0 / 1.356 GB, free: 15.91 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.291, allocations: 4 kB / 1.356 GB, free: 15.9 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.291, allocations: 3.984 kB / 1.356 GB, free: 15.9 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.2911, allocations: 47.89 kB / 1.356 GB, free: 15.85 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.2912, allocations: 161.5 kB / 1.356 GB, free: 15.65 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.2913, allocations: 61.14 kB / 1.356 GB, free: 15.57 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.2914, allocations: 29.77 kB / 1.356 GB, free: 15.54 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.2919, allocations: 252 kB / 1.357 GB, free: 15.29 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2919, allocations: 38.5 kB / 1.357 GB, free: 15.24 MB / 1.057 GB Notification: Performance of pre-optimization done (n=9): time 9.31e-07/0.2919, allocations: 0 / 1.357 GB, free: 15.24 MB / 1.057 GB Notification: Performance of matching and sorting (n=9): time 0.000175/0.2921, allocations: 89.55 kB / 1.357 GB, free: 15.15 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2921, allocations: 85.22 kB / 1.357 GB, free: 15.05 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.2922, allocations: 97.86 kB / 1.357 GB, free: 14.94 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.2922, allocations: 25.7 kB / 1.357 GB, free: 14.91 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 1.83e-05/0.2922, allocations: 84.14 kB / 1.357 GB, free: 14.82 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2922, allocations: 27.73 kB / 1.357 GB, free: 14.8 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.2922, allocations: 25.67 kB / 1.357 GB, free: 14.77 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.2923, allocations: 318.8 kB / 1.357 GB, free: 14.45 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.2923, allocations: 8 kB / 1.357 GB, free: 14.44 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.2924, allocations: 33.7 kB / 1.357 GB, free: 14.4 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.2924, allocations: 45.66 kB / 1.357 GB, free: 14.35 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2924, allocations: 0 / 1.357 GB, free: 14.35 MB / 1.057 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.243e-05/0.2925, allocations: 85.59 kB / 1.358 GB, free: 14.26 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2925, allocations: 11.94 kB / 1.358 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2925, allocations: 0 / 1.358 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2925, allocations: 0 / 1.358 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.2926, allocations: 15.94 kB / 1.358 GB, free: 14.23 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2926, allocations: 4.031 kB / 1.358 GB, free: 14.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.2926, allocations: 7.938 kB / 1.358 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2926, allocations: 3.984 kB / 1.358 GB, free: 14.21 MB / 1.057 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.277e-05/0.2927, allocations: 113.8 kB / 1.358 GB, free: 14.09 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.2927, allocations: 11.89 kB / 1.358 GB, free: 14.08 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.2928, allocations: 94.19 kB / 1.358 GB, free: 13.98 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2928, allocations: 3.984 kB / 1.358 GB, free: 13.98 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2928, allocations: 4 kB / 1.358 GB, free: 13.98 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2929, allocations: 4.031 kB / 1.358 GB, free: 13.97 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.522e-05/0.2929, allocations: 140.7 kB / 1.358 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2929, allocations: 4 kB / 1.358 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.293, allocations: 19.92 kB / 1.358 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.293, allocations: 3.938 kB / 1.358 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.293, allocations: 0 / 1.358 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.293, allocations: 4 kB / 1.358 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.293, allocations: 0 / 1.358 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.416e-05/0.2931, allocations: 110 kB / 1.358 GB, free: 13.63 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.2931, allocations: 19.81 kB / 1.358 GB, free: 13.61 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2931, allocations: 8 kB / 1.358 GB, free: 13.61 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-06/0.2931, allocations: 0 / 1.358 GB, free: 13.61 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.2931, allocations: 7.984 kB / 1.358 GB, free: 13.6 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2931, allocations: 0 / 1.358 GB, free: 13.6 MB / 1.057 GB Notification: Performance of sorting global known variables: time 2.196e-05/0.2931, allocations: 79.28 kB / 1.358 GB, free: 13.52 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.2931, allocations: 0 / 1.358 GB, free: 13.52 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001885/0.2933, allocations: 75.73 kB / 1.358 GB, free: 13.45 MB / 1.057 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.0002482/0.2936, allocations: 214.8 kB / 1.358 GB, free: 13.23 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.2937, allocations: 43.89 kB / 1.359 GB, free: 13.18 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2937, allocations: 0 / 1.359 GB, free: 13.18 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.2937, allocations: 27.92 kB / 1.359 GB, free: 13.16 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2939, allocations: 20.22 kB / 1.359 GB, free: 13.14 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.2942, allocations: 211.8 kB / 1.359 GB, free: 12.89 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2943, allocations: 0.6813 MB / 1.359 GB, free: 12.19 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.2944, allocations: 15.44 kB / 1.359 GB, free: 12.17 MB / 1.057 GB Notification: Performance of SimCode: time 4.01e-07/0.2944, allocations: 0 / 1.359 GB, free: 12.17 MB / 1.057 GB Notification: Performance of Templates: time 0.002394/0.2968, allocations: 1.914 MB / 1.361 GB, free: 10.26 MB / 1.057 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.454175546299666]