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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009901/0.0009902, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 179.3 kB / 16.92 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003357, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6085, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002353/0.6109, allocations: 1.844 MB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.6135, allocations: 1.502 MB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.614, allocations: 8 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.6141, allocations: 39.58 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.6145, allocations: 67.45 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.6153, allocations: 263.6 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.616, allocations: 0.5785 MB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.6165, allocations: 345.8 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.6168, allocations: 151.2 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.6171, allocations: 174.8 kB / 1.029 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.6171, allocations: 12 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.6172, allocations: 39.97 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.6173, allocations: 63.64 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.6175, allocations: 240.3 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.6181, allocations: 0.5901 MB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6181, allocations: 0 / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6181, allocations: 0 / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.6181, allocations: 0 / 1.029 GB, free: 9.902 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.001157/0.6193, allocations: 0.7115 MB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6193, allocations: 16.02 kB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.6195, allocations: 56.28 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.62, allocations: 351.7 kB / 1.031 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.62, allocations: 45.69 kB / 1.031 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.6201, allocations: 56.38 kB / 1.031 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.6211, allocations: 0.5148 MB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6211, allocations: 192 / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.6212, allocations: 27.94 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.6212, allocations: 19.94 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/0.6219, allocations: 364.7 kB / 1.032 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.6241, allocations: 1.469 MB / 1.033 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.6247, allocations: 293.3 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.6252, allocations: 185.6 kB / 1.033 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.6252, allocations: 8 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.6256, allocations: 214.8 kB / 1.034 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/0.6256, allocations: 4 kB / 1.034 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008989/0.6265, allocations: 403.4 kB / 1.034 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.6266, allocations: 85.05 kB / 1.034 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.6271, allocations: 413.6 kB / 1.035 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.6271, allocations: 33.7 kB / 1.035 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.6274, allocations: 271.9 kB / 1.035 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.6275, allocations: 106.5 kB / 1.035 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.6275, allocations: 37.7 kB / 1.035 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6277, allocations: 354.8 kB / 1.035 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.628, allocations: 136.8 kB / 1.035 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.6284, allocations: 215.1 kB / 1.036 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.629, allocations: 354.6 kB / 1.036 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.629, allocations: 4 kB / 1.036 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009027/0.6299, allocations: 480.1 kB / 1.036 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.63, allocations: 41.69 kB / 1.036 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.63, allocations: 4.188 kB / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.63, allocations: 4 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.6304, allocations: 75.91 kB / 1.037 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.6304, allocations: 11.92 kB / 1.037 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.6308, allocations: 96.72 kB / 1.037 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.6309, allocations: 19.98 kB / 1.037 GB, free: 2.18 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.0002134/0.6311, allocations: 170.2 kB / 1.037 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.6312, allocations: 39.53 kB / 1.037 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/0.6319, allocations: 345 kB / 1.037 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6319, allocations: 4 kB / 1.037 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6319, allocations: 3.938 kB / 1.037 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6319, allocations: 3.984 kB / 1.037 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6332, allocations: 0.9861 MB / 1.038 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6333, allocations: 4.125 kB / 1.038 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.6335, allocations: 67.89 kB / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6335, allocations: 4 kB / 1.038 GB, free: 492 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.6336, allocations: 8 kB / 1.038 GB, free: 484 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.6336, allocations: 4 kB / 1.038 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6336, allocations: 4 kB / 1.038 GB, free: 476 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.6343, allocations: 0.5278 MB / 1.039 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6344, allocations: 124.6 kB / 1.039 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.6344, allocations: 8 kB / 1.039 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.6347, allocations: 15.98 kB / 1.039 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.6348, allocations: 23.97 kB / 1.039 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.6348, allocations: 11.94 kB / 1.039 GB, free: 15.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003116/0.6351, allocations: 291.2 kB / 1.039 GB, free: 15.42 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6351, allocations: 0 / 1.039 GB, free: 15.42 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004977/0.6356, allocations: 107.7 kB / 1.039 GB, free: 15.32 MB / 0.795 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.0001784/0.6358, allocations: 123.1 kB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007913/0.6366, allocations: 388.2 kB / 1.04 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6366, allocations: 0 / 1.04 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.6369, allocations: 156.5 kB / 1.04 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.6377, allocations: 64.2 kB / 1.04 GB, free: 14.58 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6393, allocations: 0.96 MB / 1.041 GB, free: 13.56 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.6398, allocations: 0.8276 MB / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.64, allocations: 31.44 kB / 1.042 GB, free: 12.68 MB / 0.795 GB Notification: Performance of SimCode: time 9.42e-07/0.64, allocations: 4 kB / 1.042 GB, free: 12.68 MB / 0.795 GB Notification: Performance of Templates: time 0.008438/0.6484, allocations: 4.938 MB / 1.047 GB, free: 7.75 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=480 -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/jenkins1/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