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.001819/0.001819, 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.002629/0.002629, allocations: 193.2 kB / 16.25 MB, free: 6.621 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.625/1.625, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.94/2.94, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 59.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7619, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003457/0.7654, allocations: 2.248 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.7676, allocations: 1.502 MB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.7678, allocations: 8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.7679, allocations: 35.58 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.7682, allocations: 59.48 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.7689, allocations: 267.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006727/0.7696, allocations: 0.6371 MB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.7701, allocations: 361.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.7704, allocations: 231.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.7706, allocations: 258.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.7708, allocations: 72 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.7709, allocations: 83.98 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.771, allocations: 127.6 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.7713, allocations: 294.6 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007418/0.772, allocations: 0.7613 MB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.772, allocations: 0 / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.772, allocations: 4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.7721, allocations: 0 / 1.024 GB, free: 11.91 MB / 0.7794 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.001256/0.7733, allocations: 0.809 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.7734, allocations: 8.031 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.7735, allocations: 68.12 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.774, allocations: 359.6 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.774, allocations: 45.69 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.7741, allocations: 56.38 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.775, allocations: 0.4992 MB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.7751, allocations: 8.125 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.7751, allocations: 31.92 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.7751, allocations: 12 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.7759, allocations: 360.7 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.778, allocations: 1.449 MB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.7786, allocations: 299.5 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.7791, allocations: 185.6 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.7791, allocations: 4 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.7796, allocations: 198.8 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.7796, allocations: 0 / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008613/0.7804, allocations: 395.2 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.7805, allocations: 81.11 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.781, allocations: 413.6 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.781, allocations: 29.7 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.7813, allocations: 271.8 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.7814, allocations: 110.5 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.7816, allocations: 86.03 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7817, allocations: 354.8 kB / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.7821, allocations: 136.8 kB / 1.03 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.7824, allocations: 203.1 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.783, allocations: 355.5 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.783, allocations: 0 / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008768/0.7839, allocations: 466.4 kB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.784, allocations: 37.69 kB / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.784, allocations: 0 / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.784, allocations: 4 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.7844, allocations: 84.03 kB / 1.031 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.7844, allocations: 11.88 kB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.7848, allocations: 83.33 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.7848, allocations: 19.98 kB / 1.031 GB, free: 4.145 MB / 0.7794 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.0002096/0.785, allocations: 165.8 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.7851, allocations: 43.44 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.7858, allocations: 334.6 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.7858, allocations: 4 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7858, allocations: 3.938 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7859, allocations: 3.984 kB / 1.031 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.7871, allocations: 0.9668 MB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7872, allocations: 4 kB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.7874, allocations: 59.91 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.7874, allocations: 4 kB / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.7875, allocations: 12.19 kB / 1.032 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.7875, allocations: 7.938 kB / 1.032 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7875, allocations: 0 / 1.032 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.7881, allocations: 0.5122 MB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7883, allocations: 124.6 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.7883, allocations: 8 kB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.7886, allocations: 15.98 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.7886, allocations: 27.97 kB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.7887, allocations: 11.94 kB / 1.033 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003231/0.789, allocations: 287.2 kB / 1.033 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.789, allocations: 0 / 1.033 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004973/0.7895, allocations: 111.6 kB / 1.033 GB, free: 1.32 MB / 0.7794 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.0001804/0.7897, allocations: 119.7 kB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007636/0.7905, allocations: 399.8 kB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7905, allocations: 0 / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.7907, allocations: 140.8 kB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.7914, allocations: 73.2 kB / 1.034 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.7927, allocations: 0.9313 MB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.7932, allocations: 0.8198 MB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.7934, allocations: 43.27 kB / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.7935, allocations: 31.44 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.7935, allocations: 0 / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of Templates: time 0.009138/0.8026, allocations: 3.905 MB / 1.04 GB, free: 10.83 MB / 0.795 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=400 -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