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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001508/0.001508, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001788/0.001788, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.056/3.056, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 67.92 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003866/0.4039, allocations: 2.244 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.4061, allocations: 1.509 MB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.4063, allocations: 8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.4064, allocations: 35.58 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.4067, allocations: 63.47 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.4073, allocations: 274.8 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.4078, allocations: 0.5785 MB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.4083, allocations: 357.7 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.4085, allocations: 187.3 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.4088, allocations: 242.7 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.4088, allocations: 32 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.409, allocations: 47.98 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.4091, allocations: 103.5 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.4093, allocations: 250.6 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.41, allocations: 0.7322 MB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.41, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.41, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.41, allocations: 0 / 1.074 GB, free: 4.172 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.001214/0.4112, allocations: 0.8168 MB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4113, allocations: 8.031 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.4114, allocations: 60.28 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.4118, allocations: 355.6 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.4119, allocations: 41.69 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.412, allocations: 56.38 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.4128, allocations: 0.5109 MB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4128, allocations: 192 / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.4129, allocations: 27.94 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.4129, allocations: 12 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.4136, allocations: 364.6 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.4156, allocations: 1.465 MB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.4162, allocations: 289.3 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.4166, allocations: 173.6 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.4166, allocations: 4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.4171, allocations: 210.8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.4171, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.000845/0.4179, allocations: 392.1 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.418, allocations: 89.11 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.4184, allocations: 409.5 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.4185, allocations: 33.7 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.4187, allocations: 263.9 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.4188, allocations: 118.3 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.4189, allocations: 82.11 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4191, allocations: 350.8 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.4194, allocations: 136.8 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.4198, allocations: 207.1 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.4204, allocations: 344.8 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4204, allocations: 0 / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008379/0.4212, allocations: 482.7 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.4213, allocations: 43.09 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4213, allocations: 0 / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4213, allocations: 4 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.4216, allocations: 71.91 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.4217, allocations: 15.86 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.422, allocations: 79.59 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.4221, allocations: 19.98 kB / 1.081 GB, free: 12.4 MB / 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.0002/0.4223, allocations: 171.5 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.4223, allocations: 43.47 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/0.423, allocations: 328.9 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.423, allocations: 4 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.423, allocations: 3.938 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.423, allocations: 3.984 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.4242, allocations: 0.9689 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4242, allocations: 4 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.4245, allocations: 55.91 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.4245, allocations: 4 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.4245, allocations: 12 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4245, allocations: 4 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4245, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.4252, allocations: 0.521 MB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.4253, allocations: 128.5 kB / 1.083 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.4253, allocations: 8 kB / 1.083 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4256, allocations: 15.98 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.4256, allocations: 23.91 kB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.4257, allocations: 15.94 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003159/0.426, allocations: 291.2 kB / 1.084 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.453e-06/0.426, allocations: 4 kB / 1.084 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004301/0.4264, allocations: 107.6 kB / 1.084 GB, free: 9.566 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.0001667/0.4266, allocations: 115.2 kB / 1.084 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006951/0.4273, allocations: 375.8 kB / 1.084 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4273, allocations: 384 / 1.084 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.4276, allocations: 147.3 kB / 1.085 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.4282, allocations: 57.53 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.4294, allocations: 0.9253 MB / 1.086 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.4299, allocations: 0.8235 MB / 1.086 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.43, allocations: 47.25 kB / 1.086 GB, free: 7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.4301, allocations: 31.44 kB / 1.086 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of SimCode: time 1.553e-06/0.4301, allocations: 3.938 kB / 1.086 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of Templates: time 0.007813/0.4379, allocations: 3.734 MB / 1.09 GB, free: 3.301 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