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.002612/0.002612, allocations: 87.69 kB / 20.23 MB, free: 4.184 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.003215/0.003215, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.85/2.85, allocations: 359 MB / 0.6048 GB, free: 10.95 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 3.016e-06/3.016e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.445e-05/3.747e-05, allocations: 4.984 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003953/0.003991, allocations: 2.001 MB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.006931, allocations: 1.585 MB / 0.7899 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.007172, allocations: 8 kB / 0.7899 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.007318, allocations: 67.12 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.007611, allocations: 95.02 kB / 0.79 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.008375, allocations: 303.4 kB / 0.7903 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007823/0.009158, allocations: 0.6447 MB / 0.7909 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.009603, allocations: 251.3 kB / 0.7912 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.01008, allocations: 363.3 kB / 0.7915 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.01035, allocations: 180 kB / 0.7917 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.01045, allocations: 69.38 kB / 0.7918 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.01063, allocations: 99.91 kB / 0.7919 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.01078, allocations: 127.6 kB / 0.792 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.01103, allocations: 199.5 kB / 0.7922 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009734/0.012, allocations: 0.8385 MB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01201, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01201, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.01202, allocations: 0 / 0.793 GB, free: 6.047 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.001406/0.01342, allocations: 0.8809 MB / 0.7938 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.01347, allocations: 8.594 kB / 0.7939 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.01381, allocations: 118.6 kB / 0.794 GB, free: 5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.01431, allocations: 304.4 kB / 0.7943 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.01436, allocations: 45.69 kB / 0.7943 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.01444, allocations: 56.38 kB / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.01539, allocations: 0.5205 MB / 0.7949 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.01541, allocations: 0.7188 kB / 0.7949 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.01545, allocations: 24.31 kB / 0.7949 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.01547, allocations: 17.08 kB / 0.7949 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.01618, allocations: 346.4 kB / 0.7952 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.01859, allocations: 1.468 MB / 0.7967 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/0.01932, allocations: 279.2 kB / 0.7969 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.01975, allocations: 173.2 kB / 0.7971 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.01979, allocations: 8 kB / 0.7971 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.0202, allocations: 231.6 kB / 0.7973 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.0202, allocations: 0 / 0.7973 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0008755/0.02107, allocations: 376.4 kB / 0.7977 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.02115, allocations: 81.61 kB / 0.7978 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.02158, allocations: 381.2 kB / 0.7981 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.02163, allocations: 33.7 kB / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.02191, allocations: 339.4 kB / 0.7985 GB, free: 204 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.02203, allocations: 131.9 kB / 0.7986 GB, free: 72 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.02223, allocations: 107.8 kB / 0.7987 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003259/0.02255, allocations: 0.5235 MB / 0.7992 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.02289, allocations: 167.5 kB / 0.7994 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.0233, allocations: 274.2 kB / 0.7996 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.02394, allocations: 365.5 kB / 0.8 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.02395, allocations: 4 kB / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009704/0.02492, allocations: 0.507 MB / 0.8005 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.02497, allocations: 37.69 kB / 0.8005 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.02498, allocations: 4 kB / 0.8005 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.025, allocations: 4 kB / 0.8005 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.02533, allocations: 84.34 kB / 0.8006 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.02534, allocations: 4 kB / 0.8006 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.02567, allocations: 61.75 kB / 0.8007 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.02572, allocations: 20 kB / 0.8007 GB, free: 13.82 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.0002563/0.02598, allocations: 224.3 kB / 0.8009 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.02605, allocations: 44.45 kB / 0.801 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.02672, allocations: 300.4 kB / 0.8012 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.02673, allocations: 4 kB / 0.8012 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.02674, allocations: 11.75 kB / 0.8013 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02674, allocations: 0 / 0.8013 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.02817, allocations: 1.005 MB / 0.8022 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.02818, allocations: 4 kB / 0.8022 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.02842, allocations: 59.91 kB / 0.8023 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.02843, allocations: 4 kB / 0.8023 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.02845, allocations: 9.156 kB / 0.8023 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.02846, allocations: 7.875 kB / 0.8023 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.02847, allocations: 4 kB / 0.8023 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/0.02924, allocations: 0.6055 MB / 0.8029 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.02932, allocations: 48.72 kB / 0.803 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.02936, allocations: 8 kB / 0.803 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.02955, allocations: 17.06 kB / 0.803 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.02964, allocations: 23.95 kB / 0.803 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.02966, allocations: 12 kB / 0.803 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000268/0.02993, allocations: 254.3 kB / 0.8033 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02993, allocations: 0 / 0.8033 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005394/0.03047, allocations: 119.6 kB / 0.8034 GB, free: 10.95 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.0002136/0.03068, allocations: 120.7 kB / 0.8035 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.03163, allocations: 431.6 kB / 0.8039 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.03163, allocations: 0.5625 kB / 0.8039 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.03191, allocations: 148.8 kB / 0.804 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.03249, allocations: 67.02 kB / 0.8041 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.03395, allocations: 0.7685 MB / 0.8049 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.03422, allocations: 227.7 kB / 0.8051 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.03436, allocations: 38.95 kB / 0.8051 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.03444, allocations: 28.5 kB / 0.8051 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of SimCode: time 8.41e-07/0.03444, allocations: 0 / 0.8051 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of Templates: time 0.009197/0.04364, allocations: 3.354 MB / 0.8084 GB, free: 5.754 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] 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.10993240994867]