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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=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 0.002022/0.002022, allocations: 63.89 kB / 1.107 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.193, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003864/1.196, allocations: 2.221 MB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002418/1.199, allocations: 1.533 MB / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/1.199, allocations: 13.06 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001497/1.199, allocations: 58.17 kB / 1.276 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/1.2, allocations: 91.86 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/1.2, allocations: 300 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008035/1.201, allocations: 0.6318 MB / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/1.202, allocations: 273.5 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/1.202, allocations: 232.6 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/1.202, allocations: 263.7 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/1.202, allocations: 70.28 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/1.203, allocations: 84.56 kB / 1.278 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/1.203, allocations: 130.1 kB / 1.278 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/1.203, allocations: 292 kB / 1.278 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009283/1.204, allocations: 0.7977 MB / 1.279 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.204, allocations: 1.125 kB / 1.279 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.204, allocations: 0 / 1.279 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.07e-05/1.204, allocations: 3.938 kB / 1.279 GB, free: 3.531 MB / 0.9981 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.00124/1.205, allocations: 0.8287 MB / 1.28 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.205, allocations: 9.406 kB / 1.28 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/1.205, allocations: 63.64 kB / 1.28 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/1.206, allocations: 361.5 kB / 1.28 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/1.206, allocations: 42.27 kB / 1.28 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/1.206, allocations: 63.19 kB / 1.28 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/1.207, allocations: 0.5053 MB / 1.281 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/1.207, allocations: 192 / 1.281 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/1.207, allocations: 24.78 kB / 1.281 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/1.207, allocations: 18.97 kB / 1.281 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/1.208, allocations: 360.1 kB / 1.281 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/1.209, allocations: 1.447 MB / 1.282 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/1.21, allocations: 276.3 kB / 1.283 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/1.21, allocations: 164.5 kB / 1.283 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/1.211, allocations: 6.812 kB / 1.283 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/1.211, allocations: 203.2 kB / 1.283 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.373e-06/1.211, allocations: 0 / 1.283 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008607/1.212, allocations: 392 kB / 1.283 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/1.212, allocations: 85.83 kB / 1.283 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/1.212, allocations: 417.1 kB / 1.284 GB, free: 452 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/1.212, allocations: 32.36 kB / 1.284 GB, free: 416 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/1.213, allocations: 266.1 kB / 1.284 GB, free: 196 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/1.213, allocations: 118.1 kB / 1.284 GB, free: 100 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/1.213, allocations: 81.7 kB / 1.284 GB, free: 56 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002218/1.213, allocations: 352.8 kB / 1.285 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/1.213, allocations: 134.5 kB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/1.214, allocations: 205.6 kB / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/1.214, allocations: 348.7 kB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.214, allocations: 0 / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009251/1.215, allocations: 481.4 kB / 1.286 GB, free: 15.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/1.215, allocations: 42.11 kB / 1.286 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.215, allocations: 0 / 1.286 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.215, allocations: 3.969 kB / 1.286 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/1.216, allocations: 84.34 kB / 1.286 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/1.216, allocations: 13.56 kB / 1.286 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/1.216, allocations: 78.78 kB / 1.286 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/1.216, allocations: 17.97 kB / 1.286 GB, free: 15.01 MB / 1.014 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.0002391/1.216, allocations: 177 kB / 1.286 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/1.216, allocations: 40.03 kB / 1.286 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/1.217, allocations: 326.4 kB / 1.286 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.217, allocations: 7.75 kB / 1.287 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.217, allocations: 3.938 kB / 1.287 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.217, allocations: 2.547 kB / 1.287 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/1.219, allocations: 0.966 MB / 1.287 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.219, allocations: 1.875 kB / 1.287 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/1.219, allocations: 65.84 kB / 1.288 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.219, allocations: 3.906 kB / 1.288 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.219, allocations: 9.359 kB / 1.288 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.219, allocations: 3.062 kB / 1.288 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.219, allocations: 3.562 kB / 1.288 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/1.22, allocations: 0.5134 MB / 1.288 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.22, allocations: 138.1 kB / 1.288 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/1.22, allocations: 11.92 kB / 1.288 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/1.22, allocations: 9.719 kB / 1.288 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/1.22, allocations: 28.45 kB / 1.288 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/1.22, allocations: 12.8 kB / 1.288 GB, free: 13.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003808/1.221, allocations: 290.5 kB / 1.289 GB, free: 13.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.221, allocations: 0 / 1.289 GB, free: 13.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004822/1.221, allocations: 109.7 kB / 1.289 GB, free: 13.29 MB / 1.014 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.00019/1.221, allocations: 118.3 kB / 1.289 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007442/1.222, allocations: 360.2 kB / 1.289 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.222, allocations: 0 / 1.289 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.222, allocations: 125.2 kB / 1.289 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/1.223, allocations: 66.83 kB / 1.289 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/1.224, allocations: 0.7547 MB / 1.29 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/1.225, allocations: 0.8249 MB / 1.291 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001794/1.225, allocations: 45.83 kB / 1.291 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/1.225, allocations: 33.62 kB / 1.291 GB, free: 11.73 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.225, allocations: 3.938 kB / 1.291 GB, free: 11.73 MB / 1.014 GB Notification: Performance of Templates: time 0.01124/1.236, allocations: 4.144 MB / 1.295 GB, free: 11.4 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] 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: 10.023240263573825]