Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001517/0.001517, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001751/0.001751, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.52 kB / 0.8127 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2662, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004158/0.2704, allocations: 2.237 MB / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.2731, allocations: 1.486 MB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.2737, allocations: 8 kB / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.274, allocations: 39.56 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.2745, allocations: 67.41 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.2756, allocations: 263.8 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009147/0.2765, allocations: 0.6448 MB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.2771, allocations: 369.7 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.2775, allocations: 231.2 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.2779, allocations: 250.8 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.278, allocations: 75.98 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.2782, allocations: 80 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2783, allocations: 131.5 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.2786, allocations: 290.6 kB / 0.9558 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.2793, allocations: 0.6121 MB / 0.9564 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2793, allocations: 0 / 0.9564 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2793, allocations: 0 / 0.9564 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.2793, allocations: 0 / 0.9564 GB, free: 2.402 MB / 0.7325 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.00139/0.2807, allocations: 0.809 MB / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2807, allocations: 12.03 kB / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.2809, allocations: 64.19 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.2813, allocations: 359.6 kB / 0.9576 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.2814, allocations: 45.69 kB / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.2815, allocations: 56.38 kB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.2824, allocations: 0.5031 MB / 0.9582 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2824, allocations: 192 / 0.9582 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.2824, allocations: 27.94 kB / 0.9582 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.2825, allocations: 12 kB / 0.9582 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.2832, allocations: 360.6 kB / 0.9585 GB, free: 60 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.2853, allocations: 1.453 MB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.2859, allocations: 285.3 kB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.2863, allocations: 177.6 kB / 0.9604 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.2864, allocations: 11.97 kB / 0.9604 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000435/0.2868, allocations: 210.8 kB / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=34): time 2.265e-06/0.2869, allocations: 0 / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.0008587/0.2877, allocations: 395.1 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.2878, allocations: 85.05 kB / 0.9611 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.2882, allocations: 417.5 kB / 0.9615 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.2883, allocations: 37.64 kB / 0.9615 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.2885, allocations: 263.9 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2886, allocations: 110.4 kB / 0.9619 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.2888, allocations: 86.03 kB / 0.9619 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2889, allocations: 346.8 kB / 0.9623 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.2892, allocations: 136.8 kB / 0.9624 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.2896, allocations: 207 kB / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.2902, allocations: 348.1 kB / 0.9629 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2902, allocations: 0 / 0.9629 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008819/0.2911, allocations: 474.5 kB / 0.9634 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.2911, allocations: 37.7 kB / 0.9634 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2911, allocations: 4.188 kB / 0.9634 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2911, allocations: 4 kB / 0.9634 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.2915, allocations: 83.89 kB / 0.9635 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2915, allocations: 7.875 kB / 0.9635 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.2919, allocations: 75.39 kB / 0.9636 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.292, allocations: 16 kB / 0.9636 GB, free: 10.64 MB / 0.7481 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.0001999/0.2922, allocations: 177.7 kB / 0.9638 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.2922, allocations: 47.42 kB / 0.9638 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.2929, allocations: 327.1 kB / 0.9641 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.2929, allocations: 4 kB / 0.9641 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.293, allocations: 3.938 kB / 0.9641 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.293, allocations: 0 / 0.9641 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.2942, allocations: 0.9705 MB / 0.9651 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.2942, allocations: 4 kB / 0.9651 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.2945, allocations: 68.08 kB / 0.9652 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.2945, allocations: 4 kB / 0.9652 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2945, allocations: 11.98 kB / 0.9652 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2945, allocations: 4 kB / 0.9652 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2945, allocations: 3.938 kB / 0.9652 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.2952, allocations: 0.5084 MB / 0.9657 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2953, allocations: 128.5 kB / 0.9658 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.2954, allocations: 8 kB / 0.9658 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.2956, allocations: 19.98 kB / 0.9658 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.2957, allocations: 31.84 kB / 0.9659 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.2957, allocations: 15.94 kB / 0.9659 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002924/0.296, allocations: 287.2 kB / 0.9661 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.296, allocations: 0 / 0.9661 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000478/0.2965, allocations: 115.5 kB / 0.9663 GB, free: 7.789 MB / 0.7481 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.0001834/0.2967, allocations: 115.2 kB / 0.9664 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007568/0.2974, allocations: 392.8 kB / 0.9667 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2975, allocations: 0 / 0.9667 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.2978, allocations: 151.2 kB / 0.9669 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.2984, allocations: 73.47 kB / 0.967 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2998, allocations: 0.948 MB / 0.9679 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.3002, allocations: 0.8312 MB / 0.9687 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3003, allocations: 39.42 kB / 0.9687 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.3003, allocations: 0 / 0.9687 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of Templates: time 0.008104/0.3084, allocations: 4.988 MB / 0.9736 GB, free: 180 kB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches