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.001871/0.001871, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001737/0.001737, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.859/2.859, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.626e-05/3.855e-05, allocations: 3.078 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004063/0.004101, allocations: 1.776 MB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004912/0.004592, allocations: 130.7 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.004723, allocations: 3.938 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.004869, allocations: 11.86 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.005018, allocations: 61.05 kB / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.00519, allocations: 32.92 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.00553, allocations: 179 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.005673, allocations: 17.92 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.005865, allocations: 79.86 kB / 0.7886 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.005996, allocations: 53.28 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.006027, allocations: 8 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.006058, allocations: 12 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.006106, allocations: 29.03 kB / 0.7887 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.006186, allocations: 39.92 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.006453, allocations: 131.6 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.006457, allocations: 4 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.453e-06/0.006459, allocations: 1.062 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.006465, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.7448 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.0009514/0.007417, allocations: 377.7 kB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.007461, allocations: 8.031 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.007541, allocations: 20.84 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.007876, allocations: 162.7 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.007889, allocations: 384 / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.007913, allocations: 12.38 kB / 0.7894 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.008257, allocations: 112.6 kB / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.008271, allocations: 5.781 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.008292, allocations: 4.375 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.0083, allocations: 4.375 kB / 0.7895 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.008638, allocations: 93.06 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008899/0.009528, allocations: 398 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.009964, allocations: 126.6 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.01015, allocations: 57.78 kB / 0.7902 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.01019, allocations: 0.7188 kB / 0.7902 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.01023, allocations: 38.56 kB / 0.7902 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.01023, allocations: 0.5312 kB / 0.7902 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0006705/0.01091, allocations: 184 kB / 0.7904 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.01098, allocations: 81.09 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.01118, allocations: 155.3 kB / 0.7906 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.01121, allocations: 29.7 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.01131, allocations: 108.6 kB / 0.7907 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.01135, allocations: 37.14 kB / 0.7908 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.01142, allocations: 21.7 kB / 0.7908 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.01161, allocations: 326.8 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.01178, allocations: 41.12 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.01194, allocations: 61.62 kB / 0.7912 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.01227, allocations: 98.95 kB / 0.7913 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01227, allocations: 1.75 kB / 0.7913 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004129/0.01269, allocations: 145.5 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.01271, allocations: 12.7 kB / 0.7914 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01272, allocations: 0 / 0.7914 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.01274, allocations: 1.938 kB / 0.7914 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01291, allocations: 28.36 kB / 0.7915 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.01292, allocations: 0 / 0.7915 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01305, allocations: 15.88 kB / 0.7915 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.01307, allocations: 9 kB / 0.7915 GB, free: 7.418 MB / 0.7448 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.0001287/0.01319, allocations: 125.2 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.01326, allocations: 15.89 kB / 0.7916 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.01375, allocations: 166.6 kB / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01375, allocations: 0 / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.01376, allocations: 4 kB / 0.7918 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01376, allocations: 0 / 0.7918 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.01407, allocations: 145.9 kB / 0.7919 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01407, allocations: 0 / 0.7919 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.01423, allocations: 32.41 kB / 0.792 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01424, allocations: 1.75 kB / 0.792 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.01425, allocations: 4 kB / 0.792 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01425, allocations: 0 / 0.792 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01425, allocations: 0 / 0.792 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.01479, allocations: 308.5 kB / 0.7923 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.01482, allocations: 19.83 kB / 0.7923 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.01485, allocations: 4 kB / 0.7923 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.01504, allocations: 4.812 kB / 0.7923 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.0151, allocations: 11.98 kB / 0.7923 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01512, allocations: 4.938 kB / 0.7923 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001225/0.01524, allocations: 116.9 kB / 0.7924 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01524, allocations: 1.344 kB / 0.7924 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003242/0.01556, allocations: 35.94 kB / 0.7924 GB, free: 6.387 MB / 0.7448 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.0001421/0.01571, allocations: 105.7 kB / 0.7925 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.01611, allocations: 99.88 kB / 0.7926 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01611, allocations: 0 / 0.7926 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.01627, allocations: 43.97 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.01675, allocations: 55.3 kB / 0.7927 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.01737, allocations: 244.4 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.0175, allocations: 91.38 kB / 0.7931 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.858e-05/0.01759, allocations: 11.33 kB / 0.7931 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.01765, allocations: 17 kB / 0.7931 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01765, allocations: 1.312 kB / 0.7931 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.006446/0.0241, allocations: 2.144 MB / 0.7952 GB, free: 3.629 MB / 0.7448 GB " [Timeout remaining time 300] 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: 7.986999588087201]