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.001433/0.001433, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001669/0.001669, allocations: 158.5 kB / 23.01 MB, free: 4.949 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.502/1.502, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.916/2.916, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002144/0.002144, allocations: 67.89 kB / 0.9819 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.072, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002759/1.074, allocations: 1.786 MB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/1.075, allocations: 120.2 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/1.075, allocations: 2.844 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/1.075, allocations: 11.34 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/1.075, allocations: 51.88 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/1.075, allocations: 39.16 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/1.075, allocations: 165.2 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/1.075, allocations: 24.42 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/1.075, allocations: 53.55 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/1.076, allocations: 68.77 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/1.076, allocations: 8.438 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.291e-05/1.076, allocations: 10.97 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/1.076, allocations: 22.02 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/1.076, allocations: 53.88 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/1.076, allocations: 124.7 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.076, allocations: 0 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.264e-06/1.076, allocations: 0 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.076, allocations: 2.844 kB / 1.156 GB, free: 31.76 MB / 1.076 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.0008344/1.077, allocations: 381.8 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.077, allocations: 8.25 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/1.077, allocations: 21.41 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/1.077, allocations: 156.2 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.077, allocations: 3.062 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/1.077, allocations: 7.188 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/1.078, allocations: 123.3 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.078, allocations: 192 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/1.078, allocations: 11.92 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.078, allocations: 2.75 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/1.078, allocations: 91.61 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/1.079, allocations: 407.6 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/1.079, allocations: 118 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/1.079, allocations: 54.83 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/1.079, allocations: 0 / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.079, allocations: 44.83 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/1.079, allocations: 0 / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0006125/1.08, allocations: 179.2 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.08, allocations: 79.98 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/1.08, allocations: 154.5 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/1.08, allocations: 32.7 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/1.08, allocations: 106.3 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/1.08, allocations: 32.64 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/1.08, allocations: 23.14 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/1.08, allocations: 324.9 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/1.08, allocations: 45.56 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/1.081, allocations: 62.58 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/1.081, allocations: 102.7 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.081, allocations: 2.656 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003251/1.081, allocations: 150.7 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.081, allocations: 11.75 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.081, allocations: 4 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.081, allocations: 2.812 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/1.081, allocations: 19.83 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/1.081, allocations: 0 / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/1.081, allocations: 19.39 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/1.081, allocations: 5.906 kB / 1.159 GB, free: 29.69 MB / 1.076 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 7.179e-05/1.082, allocations: 121.7 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/1.082, allocations: 16.47 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/1.082, allocations: 155.2 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.082, allocations: 0 / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.082, allocations: 2.562 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.082, allocations: 0 / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/1.082, allocations: 157.2 kB / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.082, allocations: 4 kB / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.082, allocations: 26.25 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.082, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/1.082, allocations: 2.5 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.082, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.082, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/1.083, allocations: 315.1 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/1.083, allocations: 12.61 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/1.083, allocations: 4 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/1.083, allocations: 13.14 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/1.083, allocations: 5.906 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/1.083, allocations: 2.812 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.243e-05/1.083, allocations: 122.7 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.083, allocations: 288 / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002814/1.083, allocations: 38.11 kB / 1.16 GB, free: 28.97 MB / 1.076 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 7.742e-05/1.083, allocations: 99.95 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003478/1.084, allocations: 111.2 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.084, allocations: 0 / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/1.084, allocations: 53.5 kB / 1.16 GB, free: 28.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/1.084, allocations: 35.03 kB / 1.16 GB, free: 28.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/1.085, allocations: 235.2 kB / 1.16 GB, free: 28.63 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.478e-05/1.085, allocations: 93.14 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.528e-05/1.085, allocations: 13.97 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/1.085, allocations: 11.38 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.085, allocations: 3 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of Templates: time 0.004715/1.09, allocations: 2.176 MB / 1.163 GB, free: 28.25 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.662634830921888]