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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, 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.002276/0.002276, allocations: 193.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.637/2.637, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.059/5.059, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 63.2 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3067, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.006596/0.3134, allocations: 2.246 MB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.3163, allocations: 1.501 MB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.3168, allocations: 8 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.317, allocations: 35.58 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.3176, allocations: 71.45 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3188, allocations: 266.7 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.32, allocations: 0.6409 MB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.3218, allocations: 361.8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.3223, allocations: 223.3 kB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.3227, allocations: 254.7 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3229, allocations: 76 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3231, allocations: 83.98 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3233, allocations: 127.6 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.3236, allocations: 290.5 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.3244, allocations: 0.7673 MB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3244, allocations: 0 / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3244, allocations: 0 / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3244, allocations: 3.938 kB / 1.059 GB, free: 1.738 MB / 0.8106 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.001196/0.3256, allocations: 0.8168 MB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3257, allocations: 8.625 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.977e-05/0.3258, allocations: 94.7 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3259, allocations: 60.28 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.3263, allocations: 355.6 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.3264, allocations: 45.69 kB / 1.061 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.3265, allocations: 56.38 kB / 1.061 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.3273, allocations: 0.5071 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3273, allocations: 7.922 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.3274, allocations: 24 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3274, allocations: 16 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.3281, allocations: 360.6 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.3303, allocations: 1.457 MB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.3311, allocations: 281.3 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.3316, allocations: 181.8 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.3317, allocations: 11.98 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.3324, allocations: 202.8 kB / 1.064 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 3.406e-06/0.3324, allocations: 0 / 1.064 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0009949/0.3334, allocations: 389.9 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.3335, allocations: 85.11 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.334, allocations: 421.5 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.334, allocations: 33.7 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.3342, allocations: 259.9 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.3343, allocations: 118.3 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.3345, allocations: 86.12 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3346, allocations: 350.7 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.3349, allocations: 136.8 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.3352, allocations: 199.2 kB / 1.066 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.3358, allocations: 344.3 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3358, allocations: 4 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000871/0.3367, allocations: 479 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.3368, allocations: 37.64 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3368, allocations: 4 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3368, allocations: 4 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.3371, allocations: 79.89 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3372, allocations: 11.88 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.3376, allocations: 83.48 kB / 1.067 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.3376, allocations: 20 kB / 1.067 GB, free: 9.859 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.0002142/0.3378, allocations: 173.7 kB / 1.067 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.3379, allocations: 35.53 kB / 1.067 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/0.3386, allocations: 328.9 kB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3386, allocations: 7.938 kB / 1.067 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3386, allocations: 4 kB / 1.067 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3386, allocations: 4 kB / 1.067 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.3399, allocations: 0.9725 MB / 1.068 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3399, allocations: 0 / 1.068 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.3401, allocations: 63.91 kB / 1.068 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3402, allocations: 0 / 1.068 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3402, allocations: 11.98 kB / 1.068 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3402, allocations: 4 kB / 1.068 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3402, allocations: 4 kB / 1.068 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.3409, allocations: 0.5093 MB / 1.069 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.341, allocations: 132.5 kB / 1.069 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.341, allocations: 12 kB / 1.069 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3413, allocations: 11.98 kB / 1.069 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.3414, allocations: 31.84 kB / 1.069 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3414, allocations: 11.94 kB / 1.069 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003012/0.3417, allocations: 287.2 kB / 1.069 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3417, allocations: 0 / 1.069 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005001/0.3422, allocations: 115.7 kB / 1.069 GB, free: 7.023 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.001091/0.3433, allocations: 1.056 MB / 1.07 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007861/0.3441, allocations: 391.8 kB / 1.071 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3441, allocations: 0 / 1.071 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.3444, allocations: 147.7 kB / 1.071 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.3451, allocations: 69.97 kB / 1.071 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.3505, allocations: 3.962 MB / 1.075 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.351, allocations: 0.8276 MB / 1.075 GB, free: 336 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.3511, allocations: 43.27 kB / 1.075 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.3513, allocations: 159.4 kB / 1.076 GB, free: 136 kB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3514, allocations: 0 / 1.076 GB, free: 136 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.844/1.195, allocations: 6.983 MB / 1.082 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000395/1.196, allocations: 243.7 kB / 1.083 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.831/5.027, allocations: 6.109 kB / 1.083 GB, free: 9.148 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > 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