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.00182/0.00182, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002366/0.002366, allocations: 219.6 kB / 23.04 MB, free: 4.852 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.002091/0.002091, allocations: 63.31 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003402/0.3236, allocations: 1.938 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.3259, allocations: 1.564 MB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.3261, allocations: 8 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3262, allocations: 63.2 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.3265, allocations: 95.08 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.3272, allocations: 303.4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.3279, allocations: 0.6448 MB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.3283, allocations: 238.4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.3286, allocations: 243.1 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.3288, allocations: 226.8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.3289, allocations: 76 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3291, allocations: 87.98 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3292, allocations: 127.5 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.3294, allocations: 242.9 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.3302, allocations: 0.8053 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3302, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3302, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.3302, allocations: 4 kB / 1.334 GB, free: 10.36 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.001256/0.3315, allocations: 0.7574 MB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3315, allocations: 15.91 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.3318, allocations: 72.55 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.3322, allocations: 294 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.3323, allocations: 41.69 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.3324, allocations: 52.38 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.3332, allocations: 0.511 MB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3332, allocations: 192 / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.3333, allocations: 31.94 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3333, allocations: 12 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.334, allocations: 357.1 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3359, allocations: 1.143 MB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.3364, allocations: 257.4 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.3368, allocations: 165.6 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.3369, allocations: 7.984 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.3373, allocations: 199 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/0.3373, allocations: 4 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008406/0.3381, allocations: 389.5 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3382, allocations: 81.11 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.3385, allocations: 285.7 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3385, allocations: 33.7 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3388, allocations: 284.7 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3389, allocations: 119 kB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.339, allocations: 86.08 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3392, allocations: 346.8 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.3395, allocations: 166.5 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.3399, allocations: 232.9 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.3405, allocations: 349.1 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3405, allocations: 0 / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008936/0.3413, allocations: 494 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.3414, allocations: 33.7 kB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3414, allocations: 15.92 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3414, allocations: 4.188 kB / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3417, allocations: 83.84 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3418, allocations: 4 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.3421, allocations: 71.62 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.3421, allocations: 23.92 kB / 1.34 GB, free: 3.129 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.0002023/0.3423, allocations: 174.2 kB / 1.341 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.3424, allocations: 31.75 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.343, allocations: 311.6 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.343, allocations: 4 kB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3431, allocations: 0 / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.3431, allocations: 11.86 kB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.3442, allocations: 0.8167 MB / 1.342 GB, free: 1.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3442, allocations: 8.031 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.3444, allocations: 63.84 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.3444, allocations: 4 kB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3445, allocations: 8 kB / 1.342 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3445, allocations: 7.984 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3445, allocations: 4 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.3451, allocations: 0.49 MB / 1.342 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.3452, allocations: 43.67 kB / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3452, allocations: 8 kB / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3454, allocations: 19.97 kB / 1.342 GB, free: 1.027 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.3455, allocations: 31.89 kB / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3455, allocations: 12 kB / 1.342 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001897/0.3457, allocations: 197.2 kB / 1.343 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3457, allocations: 0 / 1.343 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004765/0.3462, allocations: 119.6 kB / 1.343 GB, free: 0.6797 MB / 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.0001762/0.3464, allocations: 123.1 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007272/0.3471, allocations: 388.7 kB / 1.343 GB, free: 156 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3471, allocations: 0 / 1.343 GB, free: 156 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.3474, allocations: 141.5 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.3479, allocations: 63.11 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3493, allocations: 0.7598 MB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3495, allocations: 220 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.3496, allocations: 35.44 kB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3496, allocations: 0 / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of Templates: time 0.007702/0.3573, allocations: 4.78 MB / 1.349 GB, free: 10.09 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.173475007992238]