Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.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.001889/0.001889, allocations: 99.64 kB / 18.94 MB, free: 2.551 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: 215.1 kB / 22.25 MB, free: 4.855 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.004/3.004, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.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.002295/0.002295, allocations: 65.08 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3758, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003508/0.3793, allocations: 1.779 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003497/0.3796, allocations: 129.3 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.3797, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3798, allocations: 15.8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3799, allocations: 47.55 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.3801, allocations: 35.89 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.3803, allocations: 179.1 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3805, allocations: 13.25 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.3806, allocations: 55.84 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3807, allocations: 71.67 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.3807, allocations: 8 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.3808, allocations: 8 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.3808, allocations: 23.92 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.3809, allocations: 59.72 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3811, allocations: 119.5 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3811, allocations: 4 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3811, allocations: 0 / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3811, allocations: 4 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008846/0.382, allocations: 373.7 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.382, allocations: 15.97 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.3821, allocations: 12.84 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3824, allocations: 152.1 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3824, allocations: 384 / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3824, allocations: 16.38 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.3827, allocations: 119.8 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3828, allocations: 192 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3828, allocations: 7.938 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.3828, allocations: 4 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.3831, allocations: 91.92 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.3839, allocations: 400.4 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.3843, allocations: 121.2 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3844, allocations: 53.78 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3845, allocations: 8 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3845, allocations: 30.56 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3845, allocations: 7.938 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006252/0.3851, allocations: 185.5 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.3852, allocations: 81.11 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3854, allocations: 160 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3854, allocations: 29.7 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.3855, allocations: 115.9 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.3855, allocations: 31.73 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.3856, allocations: 25.72 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3858, allocations: 330.8 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3859, allocations: 39.91 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3861, allocations: 57.69 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.3864, allocations: 101.7 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3864, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003608/0.3867, allocations: 145.5 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3868, allocations: 8 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3868, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3868, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3869, allocations: 19.98 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3869, allocations: 4 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3871, allocations: 15.94 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3871, allocations: 11.94 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001097/0.3872, allocations: 121.7 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.3872, allocations: 15.91 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.3877, allocations: 167.1 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3877, allocations: 4 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3877, allocations: 4.062 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3877, allocations: 0 / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.388, allocations: 157.3 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.388, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3881, allocations: 19.98 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3881, allocations: 4 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3881, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3881, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3881, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.3886, allocations: 322.7 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3886, allocations: 11.95 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3886, allocations: 8 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3888, allocations: 7.984 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.3889, allocations: 7.984 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3889, allocations: 3.938 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001051/0.389, allocations: 124 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.389, allocations: 0 / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002794/0.3893, allocations: 24 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000121/0.3894, allocations: 99.25 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.3897, allocations: 103.9 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3897, allocations: 0 / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3899, allocations: 51.95 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.3903, allocations: 48.22 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.3909, allocations: 231.6 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.391, allocations: 93.03 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.263e-05/0.3911, allocations: 12.5 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.3911, allocations: 11.44 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3911, allocations: 96 / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of Templates: time 0.006019/0.3972, allocations: 2.316 MB / 1.292 GB, free: 2.496 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.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: 9.994549587368965]