Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001612/0.001612, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001943/0.001943, allocations: 225 kB / 23 MB, free: 4.914 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.253/3.253, allocations: 0.4893 GB / 0.7951 GB, free: 35.63 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.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_12_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_12_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.002087/0.002087, allocations: 65.36 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3214, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.0031/0.3245, allocations: 1.791 MB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.3248, allocations: 115.6 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.3249, allocations: 0 / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.325, allocations: 23.84 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.3251, allocations: 43.56 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.3252, allocations: 31.95 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3255, allocations: 171.1 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3256, allocations: 25.22 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.3257, allocations: 51.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3258, allocations: 63.69 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.3258, allocations: 16 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.3258, allocations: 8 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.3259, allocations: 23.92 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.3259, allocations: 55.72 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3261, allocations: 127.4 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3261, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3261, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3261, allocations: 0 / 1.329 GB, free: 15.37 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007841/0.3269, allocations: 385.6 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3269, allocations: 8.031 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.327, allocations: 16.84 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.3272, allocations: 142.4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3272, allocations: 4.375 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3273, allocations: 12.31 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.3275, allocations: 119.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3276, allocations: 192 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3276, allocations: 11.94 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3276, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3279, allocations: 91.86 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.3286, allocations: 396.5 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.3289, allocations: 129.2 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3291, allocations: 53.78 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3291, allocations: 7.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3292, allocations: 38.55 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.3292, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0005729/0.3297, allocations: 177.5 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.3298, allocations: 85.05 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.33, allocations: 160.2 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.33, allocations: 29.7 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.3301, allocations: 116 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3301, allocations: 31.73 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.3302, allocations: 17.72 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3303, allocations: 326.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3305, allocations: 43.97 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3306, allocations: 61.69 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.3309, allocations: 117.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3309, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003522/0.3313, allocations: 141.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3313, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3313, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3313, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3314, allocations: 27.91 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3314, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.3316, allocations: 8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3316, allocations: 8 kB / 1.331 GB, free: 12.42 MB / 1.029 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.0001036/0.3317, allocations: 122.3 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.3317, allocations: 11.91 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.3322, allocations: 162.6 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3322, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3322, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3322, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3324, allocations: 153.3 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3324, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.3326, allocations: 23.98 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3326, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3326, allocations: 8 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3326, allocations: 3.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3326, allocations: 3.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.333, allocations: 318.7 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.333, allocations: 8.141 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3331, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3332, allocations: 15.98 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.3333, allocations: 11.98 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3333, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.797e-05/0.3334, allocations: 120 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3334, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002941/0.3337, allocations: 31.95 kB / 1.332 GB, free: 11.38 MB / 1.029 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.0001366/0.3338, allocations: 95.25 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.3342, allocations: 103.9 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3342, allocations: 4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3343, allocations: 55.91 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.3348, allocations: 43.42 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.3354, allocations: 265.2 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3355, allocations: 97.05 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.3355, allocations: 11.53 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3355, allocations: 3.938 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of Templates: time 0.004225/0.3397, allocations: 1.753 MB / 1.335 GB, free: 8.914 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.261456886772066]