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.01054/0.01054, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.002411/0.002411, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.819/2.819, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.412, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004005/0.4161, allocations: 2.229 MB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.4184, allocations: 1.525 MB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.4186, allocations: 8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.4188, allocations: 59.2 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.4191, allocations: 99.02 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.4198, allocations: 295 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007009/0.4205, allocations: 0.6409 MB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.421, allocations: 365.8 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.4213, allocations: 227.2 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.4216, allocations: 254.8 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.4217, allocations: 72 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.4218, allocations: 87.97 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.4219, allocations: 131.6 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.4222, allocations: 290.6 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.423, allocations: 0.7974 MB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.423, allocations: 0 / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.423, allocations: 3.938 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.423, allocations: 0 / 1.173 GB, free: 15.75 MB / 0.9356 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.001516/0.4245, allocations: 0.8317 MB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4246, allocations: 8.031 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.4248, allocations: 64.56 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.4253, allocations: 367.7 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.4254, allocations: 45.69 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.4254, allocations: 52.38 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.4264, allocations: 0.5031 MB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4264, allocations: 4.188 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.4265, allocations: 27.94 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4265, allocations: 16 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006746/0.4272, allocations: 356.6 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.4293, allocations: 1.438 MB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.4299, allocations: 293.1 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.4303, allocations: 181.8 kB / 1.178 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.4304, allocations: 4 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.4308, allocations: 206.8 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.4308, allocations: 3.938 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0008342/0.4316, allocations: 389.1 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4317, allocations: 81.11 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.4321, allocations: 413.6 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.4322, allocations: 37.7 kB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.4324, allocations: 276.4 kB / 1.179 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.4325, allocations: 111 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.4327, allocations: 86.11 kB / 1.179 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4328, allocations: 346.8 kB / 1.179 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.4331, allocations: 132.8 kB / 1.18 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.4336, allocations: 211 kB / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.4341, allocations: 346.3 kB / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4341, allocations: 0 / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009954/0.4351, allocations: 474.2 kB / 1.181 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.4352, allocations: 45.64 kB / 1.181 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4352, allocations: 0 / 1.181 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.4353, allocations: 4 kB / 1.181 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.4356, allocations: 79.89 kB / 1.181 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.4356, allocations: 11.88 kB / 1.181 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.436, allocations: 79.48 kB / 1.181 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.436, allocations: 19.98 kB / 1.181 GB, free: 7.973 MB / 0.9356 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.0002079/0.4363, allocations: 171.8 kB / 1.181 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.4363, allocations: 43.72 kB / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.437, allocations: 332.4 kB / 1.181 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.437, allocations: 4 kB / 1.181 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.437, allocations: 3.938 kB / 1.181 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.437, allocations: 3.984 kB / 1.181 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.4386, allocations: 0.963 MB / 1.182 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4386, allocations: 4 kB / 1.182 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.4389, allocations: 64.09 kB / 1.182 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4389, allocations: 4 kB / 1.182 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.4389, allocations: 8 kB / 1.182 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4389, allocations: 4 kB / 1.182 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4389, allocations: 3.938 kB / 1.182 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.4397, allocations: 0.5125 MB / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.4398, allocations: 128.8 kB / 1.183 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.4399, allocations: 11.94 kB / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4401, allocations: 19.98 kB / 1.183 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.4402, allocations: 27.91 kB / 1.183 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.4402, allocations: 11.94 kB / 1.183 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003218/0.4405, allocations: 287.2 kB / 1.183 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4405, allocations: 0 / 1.183 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004811/0.441, allocations: 107.8 kB / 1.183 GB, free: 5.145 MB / 0.9356 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.0002505/0.4413, allocations: 127.1 kB / 1.183 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007427/0.442, allocations: 379.1 kB / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.442, allocations: 0 / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.4423, allocations: 141.8 kB / 1.184 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.443, allocations: 78.05 kB / 1.184 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4444, allocations: 0.75 MB / 1.185 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.4449, allocations: 0.8237 MB / 1.186 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.4451, allocations: 47.25 kB / 1.186 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.4452, allocations: 27.44 kB / 1.186 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.4452, allocations: 4 kB / 1.186 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.01015/0.4553, allocations: 4.028 MB / 1.19 GB, free: 14.71 MB / 0.9512 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=480 -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/jenkins/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