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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008443/0.0008443, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006323/0.006323, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.89/2.89, allocations: 462.6 MB / 0.7363 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005435, allocations: 9.969 kB / 0.9027 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4089, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002533/0.4114, allocations: 1.849 MB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.4135, allocations: 1.505 MB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.4136, allocations: 8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.3e-05/0.4137, allocations: 39.58 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.4139, allocations: 63.47 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.4146, allocations: 270.4 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.4151, allocations: 0.5785 MB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.4155, allocations: 341.8 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.4157, allocations: 147.2 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.4159, allocations: 182.8 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.4159, allocations: 12 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.44e-05/0.416, allocations: 27.94 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.4161, allocations: 67.64 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.4163, allocations: 240.3 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.4169, allocations: 0.7046 MB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4169, allocations: 4 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4169, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4169, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 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.001079/0.418, allocations: 0.7193 MB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.418, allocations: 11.97 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.4182, allocations: 60.28 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.4187, allocations: 359.6 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.4188, allocations: 41.69 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.4189, allocations: 60.38 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/0.4198, allocations: 0.5109 MB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4198, allocations: 192 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.4199, allocations: 23.94 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.4199, allocations: 15.94 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/0.4207, allocations: 376.6 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.4229, allocations: 1.465 MB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/0.4236, allocations: 291.6 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.424, allocations: 181.8 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.4241, allocations: 7.984 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.4246, allocations: 202.9 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.4246, allocations: 0 / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.000936/0.4255, allocations: 414.4 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.4256, allocations: 85.09 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.4261, allocations: 413.5 kB / 1.07 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.4262, allocations: 33.7 kB / 1.07 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.4264, allocations: 259.9 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4265, allocations: 118.3 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.4266, allocations: 41.7 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4268, allocations: 346.8 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.4272, allocations: 148.7 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.4275, allocations: 211.1 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.4281, allocations: 355.3 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4282, allocations: 4 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009478/0.4291, allocations: 485.2 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.4292, allocations: 37.7 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4292, allocations: 192 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.4292, allocations: 8 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.4295, allocations: 83.89 kB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.4295, allocations: 7.938 kB / 1.072 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.4299, allocations: 91.39 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.43, allocations: 23.94 kB / 1.072 GB, free: 7.199 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.000213/0.4302, allocations: 181.6 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.4303, allocations: 35.53 kB / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006942/0.431, allocations: 345.2 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.431, allocations: 7.984 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.431, allocations: 3.938 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.431, allocations: 0 / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.4324, allocations: 0.9781 MB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4324, allocations: 0 / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.4326, allocations: 68.09 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.4326, allocations: 7.984 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.4327, allocations: 8 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.4327, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4327, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007047/0.4334, allocations: 0.5247 MB / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4335, allocations: 128.5 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.4336, allocations: 8 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.4338, allocations: 15.98 kB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.4339, allocations: 27.91 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.4339, allocations: 15.94 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000332/0.4342, allocations: 291.2 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4342, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004788/0.4347, allocations: 111.7 kB / 1.074 GB, free: 4.328 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.000226/0.435, allocations: 111.2 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007309/0.4357, allocations: 401 kB / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4357, allocations: 0 / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.4361, allocations: 135.8 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.4368, allocations: 68.94 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.4383, allocations: 0.9348 MB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.4388, allocations: 0.8198 MB / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.439, allocations: 43.27 kB / 1.077 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.4391, allocations: 39.38 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4391, allocations: 0 / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.01096/0.4501, allocations: 3.7 MB / 1.08 GB, free: 14.07 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/jenkins/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