Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00091/0.0009098, allocations: 92.08 kB / 16.02 MB, free: 80 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.001121/0.001121, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.814/2.814, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 10.97 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002415/0.318, allocations: 1.845 MB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.3203, allocations: 1.497 MB / 1.063 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.3207, allocations: 8 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.3208, allocations: 39.56 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.3212, allocations: 67.47 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.3219, allocations: 270.9 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008284/0.3227, allocations: 0.5824 MB / 1.064 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005749/0.3233, allocations: 333.8 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.3236, allocations: 151.2 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.3239, allocations: 174.8 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.324, allocations: 16 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3241, allocations: 23.98 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.3242, allocations: 75.58 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.3244, allocations: 240.3 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.3249, allocations: 0.5846 MB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.325, allocations: 3.938 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.325, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.325, allocations: 4 kB / 1.065 GB, free: 15 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.001154/0.3261, allocations: 0.7154 MB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3262, allocations: 11.97 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.3263, allocations: 60.28 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.3268, allocations: 359.6 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.3269, allocations: 45.69 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.3269, allocations: 52.38 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.3279, allocations: 0.5109 MB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3279, allocations: 4.188 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.3279, allocations: 23.94 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3279, allocations: 12 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/0.3287, allocations: 376.6 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.3308, allocations: 1.469 MB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.3314, allocations: 285.2 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.3318, allocations: 185.8 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.3319, allocations: 7.984 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.3323, allocations: 206.9 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 4.358e-06/0.3323, allocations: 3.984 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0008596/0.3332, allocations: 416.8 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3332, allocations: 81.11 kB / 1.07 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.3337, allocations: 413.5 kB / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.3337, allocations: 33.7 kB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.3339, allocations: 267.9 kB / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.334, allocations: 114.4 kB / 1.071 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.3341, allocations: 37.7 kB / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3342, allocations: 346.8 kB / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.3345, allocations: 140.8 kB / 1.071 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.3349, allocations: 211.1 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.3355, allocations: 359.1 kB / 1.072 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3355, allocations: 0 / 1.072 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008776/0.3364, allocations: 495 kB / 1.072 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.3364, allocations: 33.7 kB / 1.072 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3364, allocations: 0 / 1.072 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3365, allocations: 8.188 kB / 1.072 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.3368, allocations: 83.89 kB / 1.072 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.3368, allocations: 15.86 kB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.3372, allocations: 92.59 kB / 1.072 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.3373, allocations: 20 kB / 1.072 GB, free: 7.262 MB / 0.8262 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.0002001/0.3375, allocations: 173.7 kB / 1.072 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.3375, allocations: 35.53 kB / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/0.3382, allocations: 342.7 kB / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3382, allocations: 4 kB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3382, allocations: 7.938 kB / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3383, allocations: 0 / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.3395, allocations: 0.9786 MB / 1.074 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3395, allocations: 0 / 1.074 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.3398, allocations: 72.08 kB / 1.074 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3398, allocations: 7.938 kB / 1.074 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3398, allocations: 8 kB / 1.074 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3398, allocations: 4 kB / 1.074 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3398, allocations: 0 / 1.074 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.3405, allocations: 0.5247 MB / 1.074 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3406, allocations: 132.5 kB / 1.075 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.3406, allocations: 8 kB / 1.075 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3409, allocations: 15.98 kB / 1.075 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.3409, allocations: 27.91 kB / 1.075 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.341, allocations: 11.94 kB / 1.075 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002892/0.3413, allocations: 287.2 kB / 1.075 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3413, allocations: 4 kB / 1.075 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004572/0.3417, allocations: 111.7 kB / 1.075 GB, free: 4.391 MB / 0.8262 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.000162/0.3419, allocations: 115.2 kB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007117/0.3426, allocations: 394.2 kB / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3426, allocations: 0 / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.3429, allocations: 150.6 kB / 1.076 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.3436, allocations: 72.47 kB / 1.076 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.345, allocations: 0.9637 MB / 1.077 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3454, allocations: 0.8159 MB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.3455, allocations: 47.42 kB / 1.077 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3455, allocations: 0 / 1.077 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of Templates: time 0.008278/0.3538, allocations: 4.929 MB / 1.082 GB, free: 12.84 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches