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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 113.5 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 192.6 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.09 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003987/0.3199, allocations: 2.229 MB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.3227, allocations: 1.525 MB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.3232, allocations: 11.94 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3234, allocations: 63.19 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.324, allocations: 87.09 kB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009496/0.325, allocations: 302.4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008823/0.3258, allocations: 0.6449 MB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.3264, allocations: 365.7 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.3267, allocations: 231.2 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.3269, allocations: 262.6 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.23e-05/0.327, allocations: 72 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.3272, allocations: 83.98 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3273, allocations: 131.5 kB / 1.033 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.3276, allocations: 290.6 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.3282, allocations: 0.7901 MB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3282, allocations: 0 / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3283, allocations: 4 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3283, allocations: 0 / 1.034 GB, free: 10.98 MB / 0.8106 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.001174/0.3295, allocations: 0.8129 MB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3295, allocations: 12.03 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.3296, allocations: 56.28 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.33, allocations: 363.6 kB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.3301, allocations: 45.67 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.3302, allocations: 60.38 kB / 1.035 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.331, allocations: 0.5031 MB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.331, allocations: 192 / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.331, allocations: 23.94 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.3311, allocations: 12 kB / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.3317, allocations: 364.6 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.3337, allocations: 1.445 MB / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.3342, allocations: 281.4 kB / 1.037 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.3346, allocations: 181.6 kB / 1.038 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3346, allocations: 7.938 kB / 1.038 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.335, allocations: 203.4 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.335, allocations: 4 kB / 1.038 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0007805/0.3358, allocations: 391.5 kB / 1.038 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3359, allocations: 81.11 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.3363, allocations: 417.5 kB / 1.039 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.3363, allocations: 33.7 kB / 1.039 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.3365, allocations: 267.9 kB / 1.039 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.3366, allocations: 118.3 kB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3368, allocations: 78.12 kB / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3369, allocations: 354.8 kB / 1.04 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.3372, allocations: 132.8 kB / 1.04 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.3375, allocations: 215 kB / 1.04 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.3381, allocations: 339.1 kB / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3381, allocations: 0 / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000821/0.3389, allocations: 475.6 kB / 1.041 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.339, allocations: 41.69 kB / 1.041 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.339, allocations: 192 / 1.041 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.339, allocations: 8 kB / 1.041 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.3393, allocations: 79.91 kB / 1.041 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3393, allocations: 7.938 kB / 1.041 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.3397, allocations: 79.23 kB / 1.041 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.3398, allocations: 19.98 kB / 1.041 GB, free: 3.23 MB / 0.8106 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.0002185/0.34, allocations: 173.7 kB / 1.041 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.34, allocations: 47.53 kB / 1.041 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.3407, allocations: 327 kB / 1.041 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3407, allocations: 4 kB / 1.041 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3407, allocations: 3.938 kB / 1.041 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3407, allocations: 3.984 kB / 1.041 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3419, allocations: 0.9668 MB / 1.042 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3419, allocations: 7.984 kB / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.3422, allocations: 59.91 kB / 1.042 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3422, allocations: 4.188 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3422, allocations: 12 kB / 1.042 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3422, allocations: 4 kB / 1.042 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3422, allocations: 4 kB / 1.042 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.3429, allocations: 0.5083 MB / 1.043 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.343, allocations: 128.5 kB / 1.043 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.343, allocations: 8 kB / 1.043 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3432, allocations: 15.98 kB / 1.043 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.3433, allocations: 31.91 kB / 1.043 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3433, allocations: 15.94 kB / 1.043 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002933/0.3436, allocations: 287.2 kB / 1.043 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3436, allocations: 0 / 1.043 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004499/0.3441, allocations: 111.7 kB / 1.043 GB, free: 396 kB / 0.8106 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.0001598/0.3443, allocations: 115.2 kB / 1.044 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007056/0.345, allocations: 379.2 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.345, allocations: 0 / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.3453, allocations: 135 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.3458, allocations: 74.22 kB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.347, allocations: 0.7315 MB / 1.045 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.3474, allocations: 0.8197 MB / 1.046 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.3475, allocations: 43.27 kB / 1.046 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.3476, allocations: 35.44 kB / 1.046 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3476, allocations: 4 kB / 1.046 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.00822/0.3558, allocations: 3.959 MB / 1.05 GB, free: 10.09 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches