Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00174/0.00174, allocations: 76.94 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002049/0.002049, allocations: 165.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.913/2.913, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.987e-05, allocations: 5.094 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003646/0.003676, allocations: 1.93 MB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002904/0.006579, allocations: 1.582 MB / 0.9848 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.006821, allocations: 8 kB / 0.9848 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.007053, allocations: 59.2 kB / 0.9849 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.007355, allocations: 103 kB / 0.985 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.008241, allocations: 302.9 kB / 0.9853 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007778/0.009019, allocations: 0.6525 MB / 0.9859 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.00947, allocations: 246.4 kB / 0.9862 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005026/0.009973, allocations: 363.2 kB / 0.9865 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.01025, allocations: 183.4 kB / 0.9867 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.01036, allocations: 72 kB / 0.9867 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.01053, allocations: 95.92 kB / 0.9868 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.01067, allocations: 127.6 kB / 0.987 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.01091, allocations: 195.5 kB / 0.9871 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.01203, allocations: 0.8486 MB / 0.988 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01204, allocations: 3.938 kB / 0.988 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.123e-06/0.01204, allocations: 0 / 0.988 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.01205, allocations: 3.984 kB / 0.988 GB, free: 5.215 MB / 0.9356 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.001409/0.01346, allocations: 0.7447 MB / 0.9887 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.01351, allocations: 12.02 kB / 0.9887 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.0138, allocations: 72.56 kB / 0.9888 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.01439, allocations: 297.6 kB / 0.9891 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.01444, allocations: 45.69 kB / 0.9891 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.01453, allocations: 52.38 kB / 0.9892 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/0.01553, allocations: 0.5071 MB / 0.9897 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.01554, allocations: 192 / 0.9897 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/0.0156, allocations: 24.38 kB / 0.9897 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.01562, allocations: 16.38 kB / 0.9897 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/0.0164, allocations: 369 kB / 0.99 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.01855, allocations: 1.124 MB / 0.9911 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.01921, allocations: 273.4 kB / 0.9914 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.01966, allocations: 161.6 kB / 0.9916 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.01971, allocations: 7.984 kB / 0.9916 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004191/0.02013, allocations: 211.3 kB / 0.9918 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.02013, allocations: 0 / 0.9918 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0009454/0.02108, allocations: 384.2 kB / 0.9921 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.02115, allocations: 85.11 kB / 0.9922 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.02156, allocations: 277.8 kB / 0.9925 GB, free: 424 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.0216, allocations: 33.7 kB / 0.9925 GB, free: 384 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.02185, allocations: 292.6 kB / 0.9928 GB, free: 88 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.02198, allocations: 115.2 kB / 0.9929 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.02215, allocations: 86.14 kB / 0.993 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.02237, allocations: 334.8 kB / 0.9933 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.02274, allocations: 170.6 kB / 0.9935 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.02317, allocations: 241.4 kB / 0.9937 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/0.02391, allocations: 333.8 kB / 0.994 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.02392, allocations: 4 kB / 0.994 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009734/0.02489, allocations: 0.4923 MB / 0.9945 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.02494, allocations: 40.2 kB / 0.9945 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.02495, allocations: 4 kB / 0.9945 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.02497, allocations: 4 kB / 0.9945 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.02534, allocations: 80.08 kB / 0.9946 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.02535, allocations: 11.94 kB / 0.9946 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.02571, allocations: 59.69 kB / 0.9947 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.02575, allocations: 20 kB / 0.9947 GB, free: 14.02 MB / 0.9512 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.0002756/0.02603, allocations: 173.7 kB / 0.9949 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.02607, allocations: 27.81 kB / 0.9949 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/0.02682, allocations: 327.5 kB / 0.9952 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.02683, allocations: 0 / 0.9952 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.02683, allocations: 7.938 kB / 0.9952 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.02684, allocations: 3.984 kB / 0.9952 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.02825, allocations: 0.8144 MB / 0.996 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.02825, allocations: 4 kB / 0.996 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.0285, allocations: 60.09 kB / 0.9961 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.02851, allocations: 4 kB / 0.9961 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.02853, allocations: 11.94 kB / 0.9961 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.02854, allocations: 4 kB / 0.9961 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02855, allocations: 0 / 0.9961 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.02934, allocations: 0.5017 MB / 0.9966 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.0294, allocations: 39.67 kB / 0.9966 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.02944, allocations: 11.94 kB / 0.9966 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.02966, allocations: 19.98 kB / 0.9967 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.02975, allocations: 27.91 kB / 0.9967 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.02977, allocations: 11.98 kB / 0.9967 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002511/0.03002, allocations: 193.2 kB / 0.9969 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03002, allocations: 0 / 0.9969 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005616/0.03058, allocations: 119.6 kB / 0.997 GB, free: 11.56 MB / 0.9512 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.0002303/0.03081, allocations: 119.1 kB / 0.9971 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008232/0.03164, allocations: 392.7 kB / 0.9975 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.03164, allocations: 4 kB / 0.9975 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.03194, allocations: 119.8 kB / 0.9976 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.03254, allocations: 65.09 kB / 0.9977 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.03398, allocations: 0.7307 MB / 0.9984 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.03424, allocations: 224.1 kB / 0.9986 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.03437, allocations: 34.95 kB / 0.9986 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.03445, allocations: 32.5 kB / 0.9987 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of SimCode: time 6.72e-07/0.03445, allocations: 0 / 0.9987 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of Templates: time 0.01014/0.04459, allocations: 3.328 MB / 1.002 GB, free: 6.508 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.488625060766935]