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.001774/0.001774, allocations: 109.8 kB / 16.46 MB, free: 6.508 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.002137/0.002137, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.611/1.611, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.507/3.507, allocations: 0.4899 GB / 0.7915 GB, free: 33.18 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.002208/0.002208, allocations: 67.05 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4895, allocations: 176.1 MB / 1.321 GB, free: 2.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003603/0.4931, allocations: 1.855 MB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000363/0.4935, allocations: 115.6 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.4936, allocations: 0 / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.4938, allocations: 19.8 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.4939, allocations: 51.55 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.4941, allocations: 35.95 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.4944, allocations: 163.2 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.4945, allocations: 25.05 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.4946, allocations: 59.72 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.4948, allocations: 67.75 kB / 1.324 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.4948, allocations: 12 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.952e-05/0.4948, allocations: 12 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.4949, allocations: 27.84 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.273e-05/0.495, allocations: 63.72 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.4952, allocations: 119.5 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4952, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4952, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.4952, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 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.001026/0.4963, allocations: 458.8 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.4963, allocations: 8.031 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.4964, allocations: 16.84 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.4968, allocations: 208.8 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.4968, allocations: 4.375 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4969, allocations: 8.375 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.4972, allocations: 122.5 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4972, allocations: 4.188 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.4972, allocations: 7.938 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4973, allocations: 3.938 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.4976, allocations: 95.86 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.4985, allocations: 472.8 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.499, allocations: 125.1 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.4992, allocations: 65.72 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.4992, allocations: 4.062 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.4993, allocations: 34.56 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.4993, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006803/0.4999, allocations: 181.5 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.5, allocations: 85.09 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.5003, allocations: 166.4 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.5003, allocations: 25.7 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.5004, allocations: 116 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.5004, allocations: 31.73 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.5005, allocations: 21.72 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5007, allocations: 326.8 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5008, allocations: 43.97 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.501, allocations: 57.69 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.5013, allocations: 109.6 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5013, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003838/0.5017, allocations: 149.7 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5017, allocations: 4 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5017, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5017, allocations: 4 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.5019, allocations: 19.98 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5019, allocations: 0 / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.502, allocations: 15.98 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.502, allocations: 11.94 kB / 1.327 GB, free: 13.1 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.0001314/0.5022, allocations: 113.8 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.5022, allocations: 15.89 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.5027, allocations: 158.5 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5027, allocations: 4 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5027, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5027, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.503, allocations: 225.4 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.503, allocations: 11.92 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.5032, allocations: 23.92 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5032, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5032, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5032, allocations: 4.188 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5032, allocations: 4 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.5037, allocations: 310.5 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.5038, allocations: 93 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.5038, allocations: 8 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.504, allocations: 11.98 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.5041, allocations: 4 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.5041, allocations: 8.125 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001276/0.5042, allocations: 132.2 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5042, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003067/0.5045, allocations: 28 kB / 1.328 GB, free: 11.87 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.0001902/0.5047, allocations: 99.19 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.5051, allocations: 107.9 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5051, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.5053, allocations: 47.91 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.5057, allocations: 44 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.5064, allocations: 231.6 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.5068, allocations: 0.7121 MB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.878e-05/0.5069, allocations: 16.62 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.507, allocations: 15.44 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.507, allocations: 0 / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Templates: time 0.005953/0.5129, allocations: 2.129 MB / 1.331 GB, free: 8.457 MB / 1.029 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 -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/jenkins/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: 10.338145945221186]