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.00177/0.00177, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002232/0.002232, allocations: 217.1 kB / 23.01 MB, free: 4.57 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.162/3.162, allocations: 0.49 GB / 0.7958 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 66 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3061, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003678/0.3098, allocations: 2.225 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.3121, allocations: 1.599 MB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.3123, allocations: 8 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3125, allocations: 59.2 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.3127, allocations: 95.09 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.3135, allocations: 315.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.3142, allocations: 0.6449 MB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.3146, allocations: 262.4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3149, allocations: 235.2 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.3152, allocations: 266.7 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.3153, allocations: 68 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.3154, allocations: 95.97 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3155, allocations: 127.6 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.3158, allocations: 286.5 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.3166, allocations: 0.8052 MB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3166, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3166, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.3167, allocations: 4 kB / 1.334 GB, free: 10.43 MB / 1.029 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.00123/0.3179, allocations: 0.7564 MB / 1.335 GB, free: 9.625 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3179, allocations: 8.031 kB / 1.335 GB, free: 9.617 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.3182, allocations: 68.56 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.3186, allocations: 298 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.3187, allocations: 49.69 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.3187, allocations: 52.38 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.3196, allocations: 0.5033 MB / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3196, allocations: 192 / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.3196, allocations: 31.94 kB / 1.336 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3197, allocations: 16 kB / 1.336 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.3203, allocations: 361 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.3224, allocations: 1.396 MB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.323, allocations: 271 kB / 1.338 GB, free: 6.488 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.3234, allocations: 169.6 kB / 1.338 GB, free: 6.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3235, allocations: 4 kB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.3238, allocations: 198.9 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.3238, allocations: 0 / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008537/0.3247, allocations: 399.4 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.3247, allocations: 81.11 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.3252, allocations: 413.6 kB / 1.339 GB, free: 5.195 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.3252, allocations: 33.64 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.3255, allocations: 272.4 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3256, allocations: 119 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3258, allocations: 86.08 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.3259, allocations: 358.8 kB / 1.34 GB, free: 4.316 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3262, allocations: 132.8 kB / 1.34 GB, free: 4.188 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.3266, allocations: 203.1 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.3272, allocations: 342.2 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3272, allocations: 4 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008528/0.328, allocations: 476 kB / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.3281, allocations: 41.69 kB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3281, allocations: 4 kB / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3281, allocations: 0 / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.3284, allocations: 80.09 kB / 1.341 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.3284, allocations: 11.94 kB / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.3288, allocations: 75.52 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3288, allocations: 16 kB / 1.341 GB, free: 2.895 MB / 1.029 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.0002112/0.329, allocations: 178.2 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.3291, allocations: 43.72 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006715/0.3298, allocations: 335.1 kB / 1.342 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3298, allocations: 4 kB / 1.342 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3298, allocations: 3.938 kB / 1.342 GB, free: 2.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3298, allocations: 0 / 1.342 GB, free: 2.324 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.3311, allocations: 0.9465 MB / 1.343 GB, free: 1.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3311, allocations: 0 / 1.343 GB, free: 1.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3314, allocations: 55.91 kB / 1.343 GB, free: 1.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.3314, allocations: 7.984 kB / 1.343 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3314, allocations: 8 kB / 1.343 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.3314, allocations: 8 kB / 1.343 GB, free: 1.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3314, allocations: 8.188 kB / 1.343 GB, free: 1.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.3321, allocations: 0.5132 MB / 1.343 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3322, allocations: 51.69 kB / 1.343 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.3322, allocations: 8 kB / 1.343 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.3324, allocations: 11.98 kB / 1.343 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.3325, allocations: 23.91 kB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.3325, allocations: 23.92 kB / 1.343 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004239/0.3329, allocations: 295.1 kB / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3329, allocations: 3.938 kB / 1.343 GB, free: 272 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.000468/0.3334, allocations: 107.7 kB / 1.344 GB, free: 164 kB / 1.029 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.0001768/0.3336, allocations: 115.1 kB / 1.344 GB, free: 40 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008047/0.3344, allocations: 362.7 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3344, allocations: 4 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.3347, allocations: 132.2 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.3352, allocations: 67.89 kB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3365, allocations: 0.7753 MB / 1.345 GB, free: 14.65 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.337, allocations: 0.8275 MB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.3371, allocations: 35.44 kB / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3371, allocations: 0 / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of Templates: time 0.008344/0.3455, allocations: 5.052 MB / 1.351 GB, free: 8.719 MB / 1.045 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/jenkins1/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: 11.29565497400472]