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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 191.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.301/3.301, allocations: 469.8 MB / 0.7423 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 72.19 kB / 0.9085 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5865, allocations: 159.1 MB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003692/0.5903, allocations: 1.825 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.5907, allocations: 115.6 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.5908, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.5909, allocations: 15.84 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.591, allocations: 47.52 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.5912, allocations: 39.94 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.5914, allocations: 167.2 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.5916, allocations: 33.09 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.5917, allocations: 55.8 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.5918, allocations: 67.69 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.5919, allocations: 12 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.235e-05/0.5919, allocations: 12 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.5919, allocations: 23.91 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.592, allocations: 63.67 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.5922, allocations: 127.8 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5922, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.248e-06/0.5922, allocations: 3.984 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.5922, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 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.0008848/0.5931, allocations: 450.9 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5932, allocations: 8.031 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.5932, allocations: 16.75 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.5935, allocations: 200.1 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.5936, allocations: 384 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.5936, allocations: 20.25 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.5939, allocations: 117.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5939, allocations: 192 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.5939, allocations: 7.938 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.594, allocations: 4 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.5943, allocations: 91.88 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.5951, allocations: 480.6 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.5955, allocations: 125.2 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.5957, allocations: 61.78 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.5957, allocations: 4 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5958, allocations: 30.56 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.516e-06/0.5958, allocations: 0 / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0006224/0.5964, allocations: 185.4 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.5965, allocations: 85.05 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.5967, allocations: 176.1 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.5967, allocations: 25.7 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.5968, allocations: 112 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.5969, allocations: 31.55 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.5969, allocations: 21.72 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5971, allocations: 326.8 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5973, allocations: 43.97 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.5975, allocations: 57.67 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.5978, allocations: 117.8 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5978, allocations: 0 / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003593/0.5981, allocations: 141.5 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5982, allocations: 4 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5982, allocations: 0 / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.5982, allocations: 4 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5984, allocations: 27.91 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5984, allocations: 4 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.5985, allocations: 11.98 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.5985, allocations: 7.938 kB / 1.069 GB, free: 8.484 MB / 0.8262 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.0001267/0.5987, allocations: 117.8 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.5987, allocations: 11.81 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.5992, allocations: 162.7 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5992, allocations: 192 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.5992, allocations: 7.984 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5992, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.5996, allocations: 225.5 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5996, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.5997, allocations: 19.98 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5997, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5998, allocations: 192 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5998, allocations: 7.938 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5998, allocations: 8 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.6002, allocations: 314.5 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.6003, allocations: 85.02 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.6003, allocations: 4 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.6005, allocations: 15.98 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.6006, allocations: 7.984 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.6006, allocations: 7.938 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001174/0.6007, allocations: 123.2 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6007, allocations: 0 / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000283/0.601, allocations: 31.91 kB / 1.07 GB, free: 7.254 MB / 0.8262 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.0001505/0.6011, allocations: 95.25 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.6016, allocations: 111.9 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6016, allocations: 0 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.6017, allocations: 55.91 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.6023, allocations: 52.3 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.6029, allocations: 227.7 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.6033, allocations: 0.7083 MB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.904e-05/0.6034, allocations: 8.656 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.6035, allocations: 19.42 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.6035, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.006034/0.6095, allocations: 2.096 MB / 1.074 GB, free: 3.871 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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) 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) Reference file matches