Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.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.SupplyReturnTemperatureResetExponent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCurM.TSup|heaCurM.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCurM.TSup|heaCurM.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001614/0.001615, allocations: 194.9 kB / 16.26 MB, free: 6.625 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.519/1.519, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.085/3.085, allocations: 472.7 MB / 0.7449 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001273, allocations: 66.52 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3779, allocations: 159.9 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent): time 0.003403/0.3814, allocations: 2.069 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.383, allocations: 1.131 MB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.3832, allocations: 8 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3833, allocations: 35.58 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.3835, allocations: 55.55 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3839, allocations: 143.9 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.3843, allocations: 0.5162 MB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.3848, allocations: 349.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.3851, allocations: 183.3 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.3853, allocations: 214.9 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.3854, allocations: 60 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.3854, allocations: 63.94 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.3855, allocations: 119.6 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.3857, allocations: 250.7 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.3863, allocations: 0.6271 MB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3863, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3863, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.3863, allocations: 0 / 1.073 GB, free: 4.84 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0009737/0.3873, allocations: 0.7256 MB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3873, allocations: 12.03 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.3874, allocations: 52.28 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3878, allocations: 320.8 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.3878, allocations: 41.69 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.3879, allocations: 56.36 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.3886, allocations: 435.1 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3886, allocations: 192 / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.3887, allocations: 23.94 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3887, allocations: 12 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.3893, allocations: 345.1 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3911, allocations: 1.274 MB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.3915, allocations: 258 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.3919, allocations: 170.3 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3919, allocations: 4 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.392, allocations: 46.95 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=31): time 2.995e-06/0.392, allocations: 0 / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31): time 0.0007006/0.3927, allocations: 354.3 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.3927, allocations: 55.41 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.3931, allocations: 377.6 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3931, allocations: 29.7 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3933, allocations: 239.8 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.3934, allocations: 106.3 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.3935, allocations: 61.7 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3936, allocations: 346.8 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3938, allocations: 104 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.3941, allocations: 156.4 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.3945, allocations: 258 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3945, allocations: 0 / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005436/0.395, allocations: 342.2 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3951, allocations: 5.406 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3951, allocations: 4.125 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3951, allocations: 11.92 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3954, allocations: 79.84 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3954, allocations: 0 / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3956, allocations: 51.42 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3957, allocations: 12 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001523/0.3958, allocations: 159.9 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.3959, allocations: 35.56 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.3964, allocations: 297.5 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3964, allocations: 0 / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3965, allocations: 0 / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3965, allocations: 7.984 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3975, allocations: 0.8386 MB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3975, allocations: 4 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.3978, allocations: 55.91 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3978, allocations: 4 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3978, allocations: 12.17 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3978, allocations: 4 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3978, allocations: 4 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.3984, allocations: 413.4 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.3985, allocations: 124.6 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.3985, allocations: 8 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3987, allocations: 11.98 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.3988, allocations: 27.86 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3988, allocations: 15.98 kB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002363/0.399, allocations: 255.2 kB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.399, allocations: 0 / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003478/0.3994, allocations: 87.69 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001217/0.3995, allocations: 119.1 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.4, allocations: 264.5 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4001, allocations: 4 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.4003, allocations: 124.6 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.4008, allocations: 50.05 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4019, allocations: 0.8431 MB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4023, allocations: 0.8067 MB / 1.084 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.4024, allocations: 39.27 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.4025, allocations: 27.44 kB / 1.084 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.4025, allocations: 4 kB / 1.084 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of Templates: time 0.005787/0.4083, allocations: 2.665 MB / 1.087 GB, free: 6.867 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureResetExponent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches