Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.002507/0.002507, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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.002776/0.002776, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.668/1.668, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.406/3.406, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.899e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003915/0.003944, allocations: 2.007 MB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.006525, allocations: 1.582 MB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.006727, allocations: 8 kB / 0.8809 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.006863, allocations: 63.19 kB / 0.881 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.007156, allocations: 96.84 kB / 0.8811 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.007879, allocations: 305 kB / 0.8814 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.008643, allocations: 0.6486 MB / 0.882 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.009091, allocations: 250.4 kB / 0.8822 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.009537, allocations: 355.3 kB / 0.8826 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.009813, allocations: 192.3 kB / 0.8828 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.009917, allocations: 72 kB / 0.8828 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.01009, allocations: 87.98 kB / 0.8829 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.01022, allocations: 128.6 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.01045, allocations: 195.5 kB / 0.8832 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.01145, allocations: 0.8448 MB / 0.884 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01145, allocations: 0.6562 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01145, allocations: 4.562 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.01146, allocations: 0 / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00154/0.013, allocations: 0.881 MB / 0.8849 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.01305, allocations: 15.22 kB / 0.8849 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.01338, allocations: 116.5 kB / 0.885 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.01386, allocations: 308.4 kB / 0.8853 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.01391, allocations: 45.69 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.014, allocations: 52.38 kB / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.01491, allocations: 0.5205 MB / 0.8859 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.01494, allocations: 192 / 0.8859 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.01498, allocations: 20.38 kB / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.015, allocations: 21.66 kB / 0.886 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006933/0.01569, allocations: 337 kB / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.0181, allocations: 1.47 MB / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.01874, allocations: 282.4 kB / 0.888 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.01918, allocations: 179.2 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.01921, allocations: 4 kB / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.01961, allocations: 222.2 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.272e-06/0.01961, allocations: 0 / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0008545/0.02047, allocations: 371.1 kB / 0.8887 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.02056, allocations: 93.09 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.02105, allocations: 384.2 kB / 0.8892 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.02109, allocations: 29.7 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.02142, allocations: 343.4 kB / 0.8896 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.02155, allocations: 131 kB / 0.8897 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.02173, allocations: 99.83 kB / 0.8898 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003177/0.02205, allocations: 0.5274 MB / 0.8903 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.02239, allocations: 170.6 kB / 0.8905 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.0228, allocations: 268.1 kB / 0.8907 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.02343, allocations: 380.5 kB / 0.8911 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02343, allocations: 3.938 kB / 0.8911 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000928/0.02436, allocations: 0.4938 MB / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/0.02442, allocations: 45.88 kB / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.02443, allocations: 0 / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.02444, allocations: 7.938 kB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.02477, allocations: 75.91 kB / 0.8917 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.02478, allocations: 4 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.02508, allocations: 55.7 kB / 0.8917 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.02512, allocations: 16 kB / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.000315/0.02543, allocations: 224.4 kB / 0.892 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.0255, allocations: 55.72 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.02614, allocations: 303.5 kB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.02614, allocations: 4 kB / 0.8923 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.02615, allocations: 0 / 0.8923 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.02615, allocations: 0 / 0.8923 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.0275, allocations: 1.002 MB / 0.8933 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.0275, allocations: 8.188 kB / 0.8933 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.02774, allocations: 55.91 kB / 0.8934 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.02775, allocations: 4 kB / 0.8934 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.02777, allocations: 8 kB / 0.8934 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.02778, allocations: 11.88 kB / 0.8934 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02778, allocations: 0 / 0.8934 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.02853, allocations: 0.6124 MB / 0.894 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.02859, allocations: 39.69 kB / 0.894 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.02864, allocations: 11.98 kB / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.02883, allocations: 15.94 kB / 0.894 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.02891, allocations: 27.95 kB / 0.8941 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.02893, allocations: 12 kB / 0.8941 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002581/0.02919, allocations: 253.1 kB / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02919, allocations: 4 kB / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004849/0.02967, allocations: 115.6 kB / 0.8944 GB, free: 4.793 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002045/0.02988, allocations: 123.1 kB / 0.8945 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007902/0.03067, allocations: 438.4 kB / 0.895 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.03067, allocations: 4 kB / 0.895 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.03094, allocations: 151.9 kB / 0.8951 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.03148, allocations: 63.33 kB / 0.8952 GB, free: 4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.03288, allocations: 0.7665 MB / 0.8959 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.03314, allocations: 220.1 kB / 0.8961 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000136/0.03328, allocations: 38.95 kB / 0.8962 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.03336, allocations: 24.5 kB / 0.8962 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.03336, allocations: 0 / 0.8962 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of Templates: time 0.00895/0.04231, allocations: 3.365 MB / 0.8995 GB, free: 15.6 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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: 8.770456813042983]