Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007757/0.0007757, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8909/0.8909, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.734/1.734, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 4 kB / 1.001 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.545e-05, allocations: 2.281 kB / 1.001 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002226/0.002251, allocations: 1.935 MB / 1.003 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003762, allocations: 1.571 MB / 1.004 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.003899, allocations: 8 kB / 1.004 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 8.306e-05/0.003982, allocations: 59.2 kB / 1.004 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.004157, allocations: 107 kB / 1.004 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.004663, allocations: 306.5 kB / 1.005 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.005062, allocations: 0.6486 MB / 1.005 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.005348, allocations: 262.3 kB / 1.006 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.005603, allocations: 359.2 kB / 1.006 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.00576, allocations: 191.4 kB / 1.006 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.005814, allocations: 68 kB / 1.006 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.005915, allocations: 87.98 kB / 1.006 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.005978, allocations: 131.6 kB / 1.006 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.0061, allocations: 199.5 kB / 1.007 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.006629, allocations: 0.837 MB / 1.007 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006631, allocations: 0 / 1.007 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006632, allocations: 4 kB / 1.007 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.006639, allocations: 4 kB / 1.007 GB, free: 5.16 MB / 0.9167 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.0007918/0.007431, allocations: 0.7446 MB / 1.008 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.007477, allocations: 12.69 kB / 1.008 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.007646, allocations: 72.55 kB / 1.008 GB, free: 4.293 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.007974, allocations: 297.7 kB / 1.009 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.008005, allocations: 41.69 kB / 1.009 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.008051, allocations: 56.38 kB / 1.009 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.008658, allocations: 0.5111 MB / 1.009 GB, free: 3.355 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.008671, allocations: 4.188 kB / 1.009 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.008698, allocations: 20.38 kB / 1.009 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.008708, allocations: 16.38 kB / 1.009 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.009123, allocations: 365 kB / 1.01 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.01026, allocations: 1.14 MB / 1.011 GB, free: 1.781 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.01064, allocations: 269.3 kB / 1.011 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.01087, allocations: 161.6 kB / 1.011 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.0109, allocations: 11.98 kB / 1.011 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.01114, allocations: 198.9 kB / 1.011 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.01114, allocations: 0 / 1.011 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.000508/0.01165, allocations: 389.8 kB / 1.012 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.01169, allocations: 85.05 kB / 1.012 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01188, allocations: 277.8 kB / 1.012 GB, free: 352 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.0119, allocations: 33.7 kB / 1.012 GB, free: 312 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01203, allocations: 288.7 kB / 1.012 GB, free: 16 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.01209, allocations: 127.1 kB / 1.012 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.01218, allocations: 78.19 kB / 1.012 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.01227, allocations: 338.8 kB / 1.013 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.01246, allocations: 166.6 kB / 1.013 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.01266, allocations: 233.5 kB / 1.013 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.013, allocations: 342.6 kB / 1.013 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01301, allocations: 0 / 1.013 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005015/0.01351, allocations: 0.4893 MB / 1.014 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.01354, allocations: 45.69 kB / 1.014 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01355, allocations: 0 / 1.014 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01356, allocations: 4 kB / 1.014 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.01373, allocations: 83.89 kB / 1.014 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.01374, allocations: 7.938 kB / 1.014 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.01389, allocations: 55.7 kB / 1.014 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.01391, allocations: 27.92 kB / 1.014 GB, free: 13.95 MB / 0.9323 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.0001267/0.01404, allocations: 173.7 kB / 1.014 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.01406, allocations: 27.81 kB / 1.014 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.01444, allocations: 319.5 kB / 1.015 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01444, allocations: 4 kB / 1.015 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01445, allocations: 0 / 1.015 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01445, allocations: 4 kB / 1.015 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.0151, allocations: 0.8247 MB / 1.015 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.0151, allocations: 4 kB / 1.015 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.01522, allocations: 55.91 kB / 1.016 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.683e-05/0.0153, allocations: 4 kB / 1.016 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.01532, allocations: 11.94 kB / 1.016 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.01532, allocations: 8 kB / 1.016 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01533, allocations: 0 / 1.016 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.01568, allocations: 0.4991 MB / 1.016 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.01572, allocations: 39.73 kB / 1.016 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.01574, allocations: 15.92 kB / 1.016 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.01584, allocations: 12 kB / 1.016 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.01589, allocations: 27.89 kB / 1.016 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.0159, allocations: 8 kB / 1.016 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001188/0.01602, allocations: 201.1 kB / 1.016 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.01602, allocations: 0 / 1.016 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002807/0.0163, allocations: 131.6 kB / 1.016 GB, free: 11.5 MB / 0.9323 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.0001242/0.01643, allocations: 111.2 kB / 1.017 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.01685, allocations: 396.7 kB / 1.017 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01686, allocations: 4 kB / 1.017 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.01701, allocations: 132.5 kB / 1.017 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.01735, allocations: 50.28 kB / 1.017 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.01813, allocations: 0.7728 MB / 1.018 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.01828, allocations: 220.1 kB / 1.018 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.01834, allocations: 28.5 kB / 1.018 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of SimCode: time 7.91e-07/0.01834, allocations: 3.938 kB / 1.018 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of Templates: time 0.004479/0.02282, allocations: 4.768 MB / 1.023 GB, free: 4.945 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.875159939751029]