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.001621/0.001621, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.001922/0.001922, allocations: 205 kB / 20.09 MB, free: 2.977 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.93/2.93, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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.001993/0.001993, allocations: 69.92 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9301, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002939/0.933, allocations: 2.217 MB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.9348, allocations: 1.584 MB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.9351, allocations: 8.625 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.9352, allocations: 60.38 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.9354, allocations: 104.7 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.9361, allocations: 299.8 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.9366, allocations: 0.6437 MB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.937, allocations: 265 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.9372, allocations: 238.7 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.9374, allocations: 250.6 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.9375, allocations: 74.83 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.9376, allocations: 92.73 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.9377, allocations: 136.7 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.9379, allocations: 287.1 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.9386, allocations: 0.8039 MB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.9386, allocations: 4.875 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9386, allocations: 0 / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.9386, allocations: 0 / 1.329 GB, free: 20.55 MB / 1.061 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.001095/0.9397, allocations: 0.8273 MB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9397, allocations: 13.48 kB / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.94, allocations: 69.23 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.9404, allocations: 358 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.9405, allocations: 45.56 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.9405, allocations: 55.56 kB / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.9416, allocations: 0.5045 MB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.9416, allocations: 5.031 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.9417, allocations: 28.94 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.9417, allocations: 14.06 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.9425, allocations: 361.2 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.9446, allocations: 1.449 MB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.9451, allocations: 273.1 kB / 1.333 GB, free: 18.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.9455, allocations: 170.3 kB / 1.333 GB, free: 18.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.9456, allocations: 8.375 kB / 1.333 GB, free: 18.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.946, allocations: 195.5 kB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.946, allocations: 0 / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0008585/0.9469, allocations: 393.5 kB / 1.333 GB, free: 17.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.9469, allocations: 85.7 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.9473, allocations: 408.2 kB / 1.334 GB, free: 17.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.9474, allocations: 37.66 kB / 1.334 GB, free: 17.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.9475, allocations: 273.7 kB / 1.334 GB, free: 17.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.9476, allocations: 119.7 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.9478, allocations: 84.62 kB / 1.334 GB, free: 17.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.9478, allocations: 349.4 kB / 1.335 GB, free: 16.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.9481, allocations: 130.1 kB / 1.335 GB, free: 16.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.9485, allocations: 210.1 kB / 1.335 GB, free: 16.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.949, allocations: 342.5 kB / 1.335 GB, free: 16.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.949, allocations: 0.5312 kB / 1.335 GB, free: 16.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001011/0.9501, allocations: 477.1 kB / 1.336 GB, free: 16.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.9501, allocations: 40.95 kB / 1.336 GB, free: 16.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.9501, allocations: 1.531 kB / 1.336 GB, free: 16.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9501, allocations: 3.875 kB / 1.336 GB, free: 16.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.9505, allocations: 83.27 kB / 1.336 GB, free: 16.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.9505, allocations: 8.078 kB / 1.336 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.9509, allocations: 79.83 kB / 1.336 GB, free: 16.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.951, allocations: 19.28 kB / 1.336 GB, free: 16.03 MB / 1.061 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.000179/0.9512, allocations: 175.8 kB / 1.336 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.9512, allocations: 37.95 kB / 1.336 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.9519, allocations: 335.3 kB / 1.337 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.9519, allocations: 4.875 kB / 1.337 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9519, allocations: 4.438 kB / 1.337 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.9519, allocations: 2.938 kB / 1.337 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.9531, allocations: 0.9624 MB / 1.338 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.9531, allocations: 3.688 kB / 1.338 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.9533, allocations: 65.28 kB / 1.338 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.9533, allocations: 2.75 kB / 1.338 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.9533, allocations: 8.828 kB / 1.338 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.9533, allocations: 16.56 kB / 1.338 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.9534, allocations: 5.922 kB / 1.338 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.9539, allocations: 0.5183 MB / 1.338 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.954, allocations: 125.8 kB / 1.338 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.9541, allocations: 9.125 kB / 1.338 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.9543, allocations: 17.19 kB / 1.338 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.9544, allocations: 23.62 kB / 1.338 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.9544, allocations: 13.84 kB / 1.338 GB, free: 14.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003008/0.9547, allocations: 287.9 kB / 1.339 GB, free: 14.33 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9547, allocations: 0 / 1.339 GB, free: 14.33 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005188/0.9552, allocations: 111.6 kB / 1.339 GB, free: 14.3 MB / 1.061 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.0001512/0.9554, allocations: 120.5 kB / 1.339 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006799/0.956, allocations: 357.4 kB / 1.339 GB, free: 14.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.956, allocations: 1.562 kB / 1.339 GB, free: 14.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.9563, allocations: 135 kB / 1.339 GB, free: 13.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.9569, allocations: 66.75 kB / 1.339 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.9582, allocations: 0.7742 MB / 1.34 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.9584, allocations: 0.8243 MB / 1.341 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.9585, allocations: 38.2 kB / 1.341 GB, free: 12.73 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.9585, allocations: 1.188 kB / 1.341 GB, free: 12.73 MB / 1.061 GB Notification: Performance of Templates: time 0.009871/0.9684, allocations: 5.058 MB / 1.346 GB, free: 12.12 MB / 1.061 GB " [Timeout remaining time 299] 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.58294175399351]