Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001459/0.001459, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00186/0.00186, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.836/2.836, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.304e-05, allocations: 6.766 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003682/0.003715, allocations: 1.94 MB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003049/0.006764, allocations: 1.577 MB / 0.7898 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.007012, allocations: 9.094 kB / 0.7898 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.007189, allocations: 55.27 kB / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.007514, allocations: 103.7 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.008361, allocations: 308.2 kB / 0.7902 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007841/0.009145, allocations: 0.6486 MB / 0.7909 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007452/0.009891, allocations: 244.8 kB / 0.7911 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.0104, allocations: 363.3 kB / 0.7915 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.01071, allocations: 179.4 kB / 0.7916 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.01084, allocations: 75.98 kB / 0.7917 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.01105, allocations: 87.98 kB / 0.7918 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.01121, allocations: 135.5 kB / 0.7919 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.01147, allocations: 205.3 kB / 0.7921 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.01259, allocations: 0.8331 MB / 0.7929 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.0126, allocations: 0 / 0.7929 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.384e-06/0.0126, allocations: 0 / 0.7929 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.01261, allocations: 0 / 0.7929 GB, free: 6.133 MB / 0.7448 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.001475/0.01408, allocations: 0.7514 MB / 0.7937 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.01413, allocations: 12.03 kB / 0.7937 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.0145, allocations: 108.6 kB / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.01503, allocations: 298.2 kB / 0.794 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.01509, allocations: 45.69 kB / 0.7941 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.822e-05/0.01518, allocations: 56.88 kB / 0.7941 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.01617, allocations: 0.508 MB / 0.7946 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.01619, allocations: 192 / 0.7946 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.01624, allocations: 25.53 kB / 0.7947 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.01626, allocations: 16.38 kB / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.01704, allocations: 362.3 kB / 0.795 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.01925, allocations: 1.158 MB / 0.7962 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.0199, allocations: 265.3 kB / 0.7964 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.02036, allocations: 167 kB / 0.7966 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.02039, allocations: 9.5 kB / 0.7966 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.02091, allocations: 206.8 kB / 0.7968 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.02092, allocations: 2.844 kB / 0.7968 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0009923/0.02191, allocations: 395.3 kB / 0.7972 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.02199, allocations: 85.11 kB / 0.7972 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.02236, allocations: 281.8 kB / 0.7975 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.02242, allocations: 37.69 kB / 0.7975 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.02268, allocations: 281.2 kB / 0.7978 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.0228, allocations: 123 kB / 0.7979 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004284/0.02323, allocations: 78.69 kB / 0.798 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.02346, allocations: 344.7 kB / 0.7983 GB, free: 396 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.02381, allocations: 158.6 kB / 0.7985 GB, free: 232 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.02424, allocations: 245.4 kB / 0.7987 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.02491, allocations: 338.3 kB / 0.799 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02491, allocations: 0.8438 kB / 0.799 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00104/0.02595, allocations: 0.5091 MB / 0.7995 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.02601, allocations: 37.7 kB / 0.7996 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.02602, allocations: 0.8438 kB / 0.7996 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.02605, allocations: 7.984 kB / 0.7996 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.02641, allocations: 86.69 kB / 0.7997 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.02643, allocations: 4 kB / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.0268, allocations: 59.73 kB / 0.7997 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.02684, allocations: 12 kB / 0.7997 GB, free: 14.87 MB / 0.7605 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.0002502/0.02709, allocations: 179.8 kB / 0.7999 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.02716, allocations: 47.75 kB / 0.8 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.0279, allocations: 314 kB / 0.8003 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.0279, allocations: 4.938 kB / 0.8003 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02791, allocations: 0 / 0.8003 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.02791, allocations: 5.109 kB / 0.8003 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.02924, allocations: 0.8232 MB / 0.8011 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.02926, allocations: 1.219 kB / 0.8011 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.02951, allocations: 63.91 kB / 0.8011 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.02952, allocations: 1.75 kB / 0.8011 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.02954, allocations: 8 kB / 0.8011 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.02956, allocations: 19.8 kB / 0.8012 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.02956, allocations: 4 kB / 0.8012 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.03036, allocations: 0.4953 MB / 0.8016 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.03043, allocations: 35.73 kB / 0.8017 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.03047, allocations: 9.094 kB / 0.8017 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.03069, allocations: 19.92 kB / 0.8017 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.03077, allocations: 28.61 kB / 0.8017 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.0308, allocations: 12 kB / 0.8017 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002501/0.03105, allocations: 197.9 kB / 0.8019 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.03105, allocations: 0 / 0.8019 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005826/0.03163, allocations: 119.9 kB / 0.8021 GB, free: 12.41 MB / 0.7605 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.0002178/0.03185, allocations: 119.2 kB / 0.8022 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008465/0.03269, allocations: 396.1 kB / 0.8025 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.0327, allocations: 0 / 0.8025 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.03299, allocations: 136.5 kB / 0.8027 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.03358, allocations: 60.39 kB / 0.8027 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.03507, allocations: 0.744 MB / 0.8035 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.03535, allocations: 220.1 kB / 0.8037 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.03549, allocations: 30.97 kB / 0.8037 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.03557, allocations: 32.48 kB / 0.8037 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of SimCode: time 8.01e-07/0.03557, allocations: 0 / 0.8037 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.009495/0.04507, allocations: 3.354 MB / 0.807 GB, free: 7.316 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.103103057015687]