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.0008046/0.0008049, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005757/0.005757, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.779/2.779, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 12 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.756, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002509/0.7586, allocations: 1.847 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.7611, allocations: 1.498 MB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.7615, allocations: 8 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.7616, allocations: 35.58 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.762, allocations: 71.45 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.7628, allocations: 271.5 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007878/0.7636, allocations: 0.5824 MB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.7641, allocations: 341.8 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.7644, allocations: 143.2 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.7646, allocations: 178.8 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.7647, allocations: 16 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.7648, allocations: 31.98 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.7649, allocations: 59.66 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.7652, allocations: 240.3 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.7659, allocations: 0.7102 MB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7659, allocations: 4 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7659, allocations: 0 / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.7659, allocations: 0 / 1.029 GB, free: 9.75 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.001217/0.7672, allocations: 0.7193 MB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.7672, allocations: 8.031 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.7674, allocations: 60.28 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.7678, allocations: 363.6 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.7679, allocations: 41.69 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.768, allocations: 60.38 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.769, allocations: 0.5109 MB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.769, allocations: 192 / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.769, allocations: 23.94 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.7691, allocations: 12 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.7698, allocations: 380.6 kB / 1.031 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.7719, allocations: 1.457 MB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.7725, allocations: 289.3 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.773, allocations: 189.6 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.773, allocations: 4 kB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.7734, allocations: 214.8 kB / 1.033 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 3.106e-06/0.7734, allocations: 3.984 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008488/0.7743, allocations: 412.9 kB / 1.033 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.7744, allocations: 85.09 kB / 1.034 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.7748, allocations: 405.6 kB / 1.034 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.7749, allocations: 37.69 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.7751, allocations: 263.9 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.7752, allocations: 114.5 kB / 1.034 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.7753, allocations: 37.7 kB / 1.034 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7754, allocations: 350.8 kB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.7757, allocations: 144.7 kB / 1.035 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.7761, allocations: 211.1 kB / 1.035 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.7768, allocations: 352.4 kB / 1.035 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.7768, allocations: 7.984 kB / 1.035 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009465/0.7777, allocations: 488.6 kB / 1.036 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.7778, allocations: 37.7 kB / 1.036 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.7778, allocations: 0 / 1.036 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.7778, allocations: 4 kB / 1.036 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.7782, allocations: 88.08 kB / 1.036 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.7782, allocations: 7.938 kB / 1.036 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.7787, allocations: 87.33 kB / 1.036 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.7787, allocations: 24 kB / 1.036 GB, free: 2.02 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.0002412/0.779, allocations: 174.2 kB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.779, allocations: 39.52 kB / 1.036 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/0.7798, allocations: 342.2 kB / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.7798, allocations: 4 kB / 1.037 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.7798, allocations: 3.938 kB / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.7798, allocations: 0 / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.7813, allocations: 0.9802 MB / 1.038 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7813, allocations: 0 / 1.038 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.7815, allocations: 64.09 kB / 1.038 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.7815, allocations: 8 kB / 1.038 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.7816, allocations: 11.98 kB / 1.038 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.7816, allocations: 4 kB / 1.038 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7816, allocations: 0 / 1.038 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.7823, allocations: 0.5199 MB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.7824, allocations: 136.5 kB / 1.038 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.7824, allocations: 8 kB / 1.038 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.7826, allocations: 16 kB / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.7827, allocations: 31.89 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.7828, allocations: 15.94 kB / 1.038 GB, free: 15.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000318/0.7831, allocations: 287.2 kB / 1.039 GB, free: 15.26 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7831, allocations: 0 / 1.039 GB, free: 15.26 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004623/0.7836, allocations: 111.7 kB / 1.039 GB, free: 15.15 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.0001951/0.7838, allocations: 115.2 kB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.7845, allocations: 396.6 kB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.7845, allocations: 3.938 kB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.7848, allocations: 135.8 kB / 1.039 GB, free: 14.49 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.7855, allocations: 62.78 kB / 1.039 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.7869, allocations: 0.9322 MB / 1.04 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.7874, allocations: 0.8237 MB / 1.041 GB, free: 12.6 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.7875, allocations: 39.27 kB / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.7876, allocations: 31.44 kB / 1.041 GB, free: 12.53 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.7876, allocations: 0 / 1.041 GB, free: 12.53 MB / 0.795 GB Notification: Performance of Templates: time 0.008424/0.7961, allocations: 3.707 MB / 1.045 GB, free: 8.863 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/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