Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001748/0.001748, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001835/0.001835, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437.1 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.05 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003721/0.3303, allocations: 2.2 MB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3327, allocations: 1.529 MB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.3329, allocations: 8 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.3331, allocations: 59.2 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.3334, allocations: 95.08 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/0.3341, allocations: 304.8 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.3348, allocations: 0.6332 MB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.3353, allocations: 369.7 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.3356, allocations: 231.1 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.3359, allocations: 258.7 kB / 1.024 GB, free: 4.988 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.336, allocations: 72 kB / 1.024 GB, free: 4.918 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3361, allocations: 83.98 kB / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3363, allocations: 131.6 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.3365, allocations: 286.5 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.3373, allocations: 0.7634 MB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3373, allocations: 3.984 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3373, allocations: 4 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3373, allocations: 0 / 1.025 GB, free: 3.652 MB / 0.795 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.001295/0.3386, allocations: 0.8167 MB / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3387, allocations: 12.91 kB / 1.026 GB, free: 2.766 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.3388, allocations: 60.28 kB / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3393, allocations: 351.7 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.3393, allocations: 41.69 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.3394, allocations: 52.38 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.3403, allocations: 0.5108 MB / 1.027 GB, free: 1.707 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3403, allocations: 4.188 kB / 1.027 GB, free: 1.703 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.3404, allocations: 27.94 kB / 1.027 GB, free: 1.676 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3404, allocations: 12 kB / 1.027 GB, free: 1.664 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.3411, allocations: 356.7 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.3432, allocations: 1.465 MB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.3438, allocations: 281.3 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.3443, allocations: 181.6 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3443, allocations: 4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004257/0.3447, allocations: 203.4 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3447, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0008781/0.3456, allocations: 389.7 kB / 1.029 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3457, allocations: 89.05 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.3462, allocations: 413.5 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3462, allocations: 33.7 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.3464, allocations: 263.9 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3466, allocations: 114.4 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3467, allocations: 93.89 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3469, allocations: 350.8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.3472, allocations: 132.8 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.3476, allocations: 211.1 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.3482, allocations: 342.1 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3483, allocations: 0 / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008866/0.3491, allocations: 469 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.3492, allocations: 45.62 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3492, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3492, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.3496, allocations: 71.91 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.3496, allocations: 15.91 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.35, allocations: 79.34 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.35, allocations: 23.97 kB / 1.032 GB, free: 11.89 MB / 0.8106 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.0002094/0.3503, allocations: 174.4 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3503, allocations: 43.44 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.351, allocations: 321 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.351, allocations: 4 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.351, allocations: 11.88 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.351, allocations: 3.984 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3524, allocations: 0.977 MB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3524, allocations: 8.031 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.3526, allocations: 55.91 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3526, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3527, allocations: 8 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3527, allocations: 4 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3527, allocations: 4 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.3534, allocations: 0.5161 MB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3535, allocations: 128.5 kB / 1.034 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.3535, allocations: 12 kB / 1.034 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3538, allocations: 15.98 kB / 1.034 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.3539, allocations: 23.97 kB / 1.034 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3539, allocations: 11.94 kB / 1.034 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003226/0.3542, allocations: 291.2 kB / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3542, allocations: 0 / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004649/0.3547, allocations: 103.7 kB / 1.035 GB, free: 9.062 MB / 0.8106 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.0001709/0.3549, allocations: 123.1 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007832/0.3557, allocations: 394.4 kB / 1.035 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3557, allocations: 3.938 kB / 1.035 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.356, allocations: 152.5 kB / 1.035 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.3566, allocations: 60.19 kB / 1.035 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3579, allocations: 0.7723 MB / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.3584, allocations: 0.8314 MB / 1.037 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.3585, allocations: 31.44 kB / 1.037 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3585, allocations: 0 / 1.037 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of Templates: time 0.008241/0.3667, allocations: 5.009 MB / 1.042 GB, free: 1.617 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches