Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 194.4 kB / 16.25 MB, free: 6.633 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 2.852/2.852, allocations: 469.8 MB / 0.7421 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.38 kB / 0.9081 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 159.2 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003663/0.3267, allocations: 2.232 MB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3293, allocations: 1.501 MB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.3297, allocations: 11.94 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.3299, allocations: 35.58 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.3302, allocations: 67.45 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.331, allocations: 262.6 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007969/0.3318, allocations: 0.645 MB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.3323, allocations: 357.8 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.3327, allocations: 231.2 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.333, allocations: 250.7 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3331, allocations: 75.98 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3333, allocations: 83.98 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3334, allocations: 127.6 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.3337, allocations: 290.5 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.3345, allocations: 0.7712 MB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3345, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3345, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.3346, allocations: 0 / 1.07 GB, free: 7.711 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001421/0.336, allocations: 0.8051 MB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.336, allocations: 12.02 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.3362, allocations: 64.28 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.3367, allocations: 351.7 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.3367, allocations: 49.67 kB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.3368, allocations: 60.31 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.3377, allocations: 0.4992 MB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3378, allocations: 4.188 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.3378, allocations: 27.94 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.3378, allocations: 12 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.3385, allocations: 360.7 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.3407, allocations: 1.469 MB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.3413, allocations: 282.8 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.3417, allocations: 177.6 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.3418, allocations: 8 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.3422, allocations: 198.9 kB / 1.074 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.3422, allocations: 7.938 kB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0008369/0.3431, allocations: 390.6 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3431, allocations: 81.11 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.3436, allocations: 417.5 kB / 1.075 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.3436, allocations: 29.7 kB / 1.075 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3439, allocations: 267.9 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.344, allocations: 114.4 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3441, allocations: 86.11 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3443, allocations: 350.8 kB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.3446, allocations: 136.8 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.345, allocations: 207.1 kB / 1.076 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.3456, allocations: 340.3 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3456, allocations: 0 / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008849/0.3465, allocations: 483.1 kB / 1.077 GB, free: 188 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.3465, allocations: 39.09 kB / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3465, allocations: 0 / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3466, allocations: 8.188 kB / 1.077 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.3469, allocations: 75.91 kB / 1.077 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3469, allocations: 11.92 kB / 1.077 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.3473, allocations: 76.95 kB / 1.077 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.3474, allocations: 19.98 kB / 1.077 GB, free: 15.95 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002266/0.3476, allocations: 173.7 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.3477, allocations: 43.53 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006768/0.3484, allocations: 324.9 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3484, allocations: 4 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3484, allocations: 3.938 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3484, allocations: 3.984 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.3497, allocations: 0.9688 MB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3498, allocations: 4 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.35, allocations: 60.09 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.35, allocations: 8 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.35, allocations: 8 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.495e-06/0.35, allocations: 4 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3501, allocations: 4 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.3507, allocations: 0.5132 MB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3509, allocations: 136.4 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.3509, allocations: 12 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3511, allocations: 15.98 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3512, allocations: 31.91 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3513, allocations: 15.88 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003144/0.3516, allocations: 287.2 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3516, allocations: 0 / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004637/0.352, allocations: 107.7 kB / 1.08 GB, free: 13.11 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002164/0.3523, allocations: 115.2 kB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000788/0.3531, allocations: 399 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3531, allocations: 0 / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.3534, allocations: 140.6 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.354, allocations: 67.95 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.3554, allocations: 0.9361 MB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.3558, allocations: 0.8198 MB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000172/0.356, allocations: 43.27 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.3561, allocations: 31.44 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3561, allocations: 4 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.009066/0.3652, allocations: 3.898 MB / 1.086 GB, free: 6.613 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches