Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008697/0.008697, allocations: 96.23 kB / 15.73 MB, free: 6.008 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.001704/0.001704, allocations: 196.1 kB / 16.67 MB, free: 5.941 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 0.9508 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003131/1.022, allocations: 2.225 MB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001895/1.024, allocations: 1.513 MB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/1.025, allocations: 7.438 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/1.025, allocations: 65.61 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/1.025, allocations: 96.94 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/1.026, allocations: 310.8 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005782/1.026, allocations: 0.642 MB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/1.027, allocations: 366 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/1.027, allocations: 224.6 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/1.027, allocations: 264.2 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.899e-05/1.027, allocations: 70.41 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/1.027, allocations: 85.28 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/1.027, allocations: 129.8 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/1.028, allocations: 291.4 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008112/1.029, allocations: 0.796 MB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.029, allocations: 0.75 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/1.029, allocations: 0 / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.927e-06/1.029, allocations: 3.938 kB / 1.095 GB, free: 1.082 MB / 0.8575 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.001074/1.03, allocations: 0.8325 MB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/1.03, allocations: 9.828 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/1.03, allocations: 63.34 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/1.03, allocations: 353.5 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/1.03, allocations: 42.8 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/1.03, allocations: 59.31 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/1.031, allocations: 0.5051 MB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.031, allocations: 4.125 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/1.031, allocations: 25.19 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/1.031, allocations: 14.05 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/1.032, allocations: 356.7 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/1.034, allocations: 1.446 MB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/1.035, allocations: 286.3 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/1.035, allocations: 179.4 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/1.035, allocations: 9.344 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004402/1.036, allocations: 207.3 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 3.115e-06/1.036, allocations: 0 / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0008237/1.037, allocations: 390.6 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.037, allocations: 85.27 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/1.037, allocations: 415.8 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/1.037, allocations: 33.42 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/1.037, allocations: 270.4 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/1.038, allocations: 114.8 kB / 1.1 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.038, allocations: 86 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.038, allocations: 352.7 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/1.038, allocations: 137.2 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/1.038, allocations: 206.1 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/1.039, allocations: 341.9 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.039, allocations: 5.062 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008997/1.04, allocations: 475.6 kB / 1.102 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/1.04, allocations: 40.44 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.04, allocations: 5.438 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.04, allocations: 4 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/1.04, allocations: 79.5 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.04, allocations: 7.953 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/1.041, allocations: 80.33 kB / 1.102 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/1.041, allocations: 19.12 kB / 1.102 GB, free: 12.57 MB / 0.8731 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.0001854/1.041, allocations: 171.5 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/1.041, allocations: 43.03 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/1.042, allocations: 322.2 kB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.042, allocations: 8 kB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.042, allocations: 5.359 kB / 1.103 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.042, allocations: 1.984 kB / 1.103 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/1.043, allocations: 0.9676 MB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.043, allocations: 2.094 kB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/1.043, allocations: 61.22 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.043, allocations: 3.938 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.043, allocations: 8.719 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.043, allocations: 7.297 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.043, allocations: 3.359 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/1.044, allocations: 0.5253 MB / 1.104 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.044, allocations: 130.3 kB / 1.104 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/1.044, allocations: 8.469 kB / 1.104 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/1.045, allocations: 16.56 kB / 1.104 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/1.045, allocations: 24.25 kB / 1.104 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/1.045, allocations: 16.94 kB / 1.104 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003134/1.045, allocations: 288.5 kB / 1.105 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.045, allocations: 0 / 1.105 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004414/1.045, allocations: 115.8 kB / 1.105 GB, free: 10.84 MB / 0.8731 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.0001698/1.046, allocations: 112.5 kB / 1.105 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007183/1.046, allocations: 381.5 kB / 1.105 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.046, allocations: 1.156 kB / 1.105 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.047, allocations: 144.1 kB / 1.105 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/1.047, allocations: 65.06 kB / 1.105 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/1.049, allocations: 0.7481 MB / 1.106 GB, free: 10 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/1.049, allocations: 0.8253 MB / 1.107 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001625/1.049, allocations: 47.27 kB / 1.107 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/1.049, allocations: 30.64 kB / 1.107 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.049, allocations: 1.125 kB / 1.107 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of Templates: time 0.01059/1.06, allocations: 4.032 MB / 1.111 GB, free: 8.961 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches