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: 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.00149/0.00149, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001741/0.001741, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001973, allocations: 57.36 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003467/0.3066, allocations: 2.197 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3088, allocations: 1.532 MB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.3091, allocations: 12 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.3093, allocations: 63.19 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.3097, allocations: 87.09 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.3105, allocations: 301.4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.3112, allocations: 0.6371 MB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.3118, allocations: 361.7 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3121, allocations: 239.2 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3124, allocations: 254.8 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.3125, allocations: 68 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.3126, allocations: 87.92 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.3127, allocations: 127.6 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.313, allocations: 286.6 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.3137, allocations: 0.7673 MB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3137, allocations: 0 / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3137, allocations: 0 / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.3137, allocations: 0 / 1.071 GB, free: 8.008 MB / 0.8419 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.001261/0.315, allocations: 0.8207 MB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.315, allocations: 8.625 kB / 1.072 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3152, allocations: 56.28 kB / 1.072 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.3156, allocations: 347.7 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.3157, allocations: 49.67 kB / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.3157, allocations: 56.38 kB / 1.072 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/0.3166, allocations: 0.507 MB / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3166, allocations: 192 / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.3166, allocations: 27.94 kB / 1.073 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3166, allocations: 16 kB / 1.073 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.3173, allocations: 356.7 kB / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.3193, allocations: 1.457 MB / 1.075 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.3199, allocations: 293.3 kB / 1.075 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.3203, allocations: 179.5 kB / 1.075 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.3203, allocations: 8 kB / 1.075 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.3207, allocations: 206.8 kB / 1.075 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.3208, allocations: 0 / 1.075 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0007995/0.3216, allocations: 381 kB / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3216, allocations: 85.11 kB / 1.076 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.3221, allocations: 413.5 kB / 1.076 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.3221, allocations: 33.7 kB / 1.076 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3223, allocations: 271.8 kB / 1.076 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.3224, allocations: 110.3 kB / 1.077 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3225, allocations: 90.05 kB / 1.077 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3227, allocations: 346.8 kB / 1.077 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.323, allocations: 136.8 kB / 1.077 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.3233, allocations: 203.1 kB / 1.077 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.3239, allocations: 347.6 kB / 1.078 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3239, allocations: 4 kB / 1.078 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008543/0.3248, allocations: 478.9 kB / 1.078 GB, free: 500 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.3249, allocations: 37.69 kB / 1.078 GB, free: 456 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3249, allocations: 4 kB / 1.078 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3249, allocations: 4 kB / 1.078 GB, free: 448 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.3252, allocations: 83.83 kB / 1.078 GB, free: 364 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3252, allocations: 7.938 kB / 1.078 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.3256, allocations: 83.52 kB / 1.078 GB, free: 272 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.3257, allocations: 20 kB / 1.078 GB, free: 252 kB / 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.0001909/0.3259, allocations: 165.8 kB / 1.078 GB, free: 76 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.3259, allocations: 39.52 kB / 1.078 GB, free: 36 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5298/0.8557, allocations: 329.9 kB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8558, allocations: 4.312 kB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.8558, allocations: 5.781 kB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.8558, allocations: 5.391 kB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.8574, allocations: 0.9696 MB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8574, allocations: 2.562 kB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.8577, allocations: 62.84 kB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.8578, allocations: 3.562 kB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.8578, allocations: 7.703 kB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.8578, allocations: 4.062 kB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.8578, allocations: 7.031 kB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.8586, allocations: 0.5054 MB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.8587, allocations: 126.7 kB / 1.08 GB, free: 21.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.8588, allocations: 8.609 kB / 1.08 GB, free: 21.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.859, allocations: 19.36 kB / 1.08 GB, free: 21.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.8591, allocations: 29.19 kB / 1.081 GB, free: 21.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.8591, allocations: 9.656 kB / 1.081 GB, free: 21.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000455/0.8596, allocations: 289.9 kB / 1.081 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8596, allocations: 4.844 kB / 1.081 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005416/0.8602, allocations: 107.3 kB / 1.081 GB, free: 21.59 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.000189/0.8604, allocations: 120.2 kB / 1.081 GB, free: 21.49 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007818/0.8611, allocations: 393.8 kB / 1.081 GB, free: 21.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8612, allocations: 0.75 kB / 1.081 GB, free: 21.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.8615, allocations: 144.8 kB / 1.082 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.8621, allocations: 69.42 kB / 1.082 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.8633, allocations: 0.7765 MB / 1.082 GB, free: 20.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.8637, allocations: 0.8229 MB / 1.083 GB, free: 20.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.8638, allocations: 36.38 kB / 1.083 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.8638, allocations: 1.219 kB / 1.083 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of Templates: time 0.01084/0.8746, allocations: 5.003 MB / 1.088 GB, free: 19.54 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